#include <linux/mm.h>#include <linux/sched/signal.h>#include <linux/highmem.h>#include <linux/fs.h>#include <linux/rwsem.h>#include <linux/semaphore.h>#include <linux/completion.h>#include <linux/backing-dev.h>#include <linux/wait.h>#include <linux/slab.h>#include <linux/kobject.h>#include <trace/events/btrfs.h>#include <asm/kmap_types.h>#include <linux/pagemap.h>#include <linux/btrfs.h>#include <linux/btrfs_tree.h>#include <linux/workqueue.h>#include <linux/security.h>#include <linux/sizes.h>#include <linux/dynamic_debug.h>#include <linux/refcount.h>#include <linux/crc32c.h>#include "extent_io.h"#include "extent_map.h"#include "async-thread.h"
Go to the source code of this file.
Classes | |
| struct | btrfs_mapping_tree |
| struct | btrfs_header |
| struct | btrfs_root_backup |
| struct | btrfs_super_block |
| struct | btrfs_item |
| struct | btrfs_leaf |
| struct | btrfs_key_ptr |
| struct | btrfs_node |
| struct | btrfs_path |
| struct | btrfs_dev_replace |
| struct | raid_kobject |
| struct | btrfs_space_info |
| struct | btrfs_block_rsv |
| struct | btrfs_free_cluster |
| struct | btrfs_caching_control |
| struct | btrfs_io_ctl |
| struct | btrfs_full_stripe_locks_tree |
| struct | btrfs_block_group_cache |
| struct | seq_list |
| struct | btrfs_stripe_hash |
| struct | btrfs_stripe_hash_table |
| struct | btrfs_fs_info |
| struct | btrfs_subvolume_writers |
| struct | btrfs_root |
| struct | btrfs_file_private |
| struct | btrfs_map_token |
| struct | btrfs_delalloc_work |
| struct | reada_control |
Typedefs | |
| typedef int(* | btrfs_changed_cb_t) (struct btrfs_path *left_path, struct btrfs_path *right_path, struct btrfs_key *key, enum btrfs_compare_tree_result result, void *ctx) |
Enumerations | |
| enum | { READA_NONE = 0, READA_BACK, READA_FORWARD } |
| enum | btrfs_caching_type { BTRFS_CACHE_NO = 0, BTRFS_CACHE_STARTED = 1, BTRFS_CACHE_FAST = 2, BTRFS_CACHE_FINISHED = 3, BTRFS_CACHE_ERROR = 4 } |
| enum | btrfs_disk_cache_state { BTRFS_DC_WRITTEN = 0, BTRFS_DC_ERROR = 1, BTRFS_DC_CLEAR = 2, BTRFS_DC_SETUP = 3 } |
| enum | btrfs_orphan_cleanup_state { ORPHAN_CLEANUP_STARTED = 1, ORPHAN_CLEANUP_DONE = 2 } |
| enum | btrfs_inline_ref_type { BTRFS_REF_TYPE_INVALID = 0, BTRFS_REF_TYPE_BLOCK = 1, BTRFS_REF_TYPE_DATA = 2, BTRFS_REF_TYPE_ANY = 3 } |
| enum | btrfs_reserve_flush_enum { BTRFS_RESERVE_NO_FLUSH, BTRFS_RESERVE_FLUSH_LIMIT, BTRFS_RESERVE_FLUSH_ALL } |
| enum | btrfs_flush_state { FLUSH_DELAYED_ITEMS_NR = 1, FLUSH_DELAYED_ITEMS = 2, FLUSH_DELALLOC = 3, FLUSH_DELALLOC_WAIT = 4, ALLOC_CHUNK = 5, COMMIT_TRANS = 6 } |
| enum | btrfs_compare_tree_result { BTRFS_COMPARE_TREE_NEW, BTRFS_COMPARE_TREE_DELETED, BTRFS_COMPARE_TREE_CHANGED, BTRFS_COMPARE_TREE_SAME } |
Functions | |
| static u32 | count_max_extents (u64 size) |
| static unsigned long | btrfs_chunk_item_size (int num_stripes) |
| struct btrfs_header | __attribute__ ((__packed__)) |
| void | btrfs_init_async_reclaim_work (struct work_struct *work) |
| static struct btrfs_fs_info * | btrfs_sb (struct super_block *sb) |
| static u32 | btrfs_inode_sectorsize (const struct inode *inode) |
| static u32 | BTRFS_LEAF_DATA_SIZE (const struct btrfs_fs_info *info) |
| static u32 | BTRFS_MAX_ITEM_SIZE (const struct btrfs_fs_info *info) |
| static u32 | BTRFS_NODEPTRS_PER_BLOCK (const struct btrfs_fs_info *info) |
| static u32 | BTRFS_MAX_INLINE_DATA_SIZE (const struct btrfs_fs_info *info) |
| static u32 | BTRFS_MAX_XATTR_SIZE (const struct btrfs_fs_info *info) |
| static void | btrfs_init_map_token (struct btrfs_map_token *token) |
| static u64 | btrfs_device_total_bytes (struct extent_buffer *eb, struct btrfs_dev_item *s) |
| static void | btrfs_set_device_total_bytes (struct extent_buffer *eb, struct btrfs_dev_item *s, u64 val) |
| BTRFS_SETGET_FUNCS (device_type, struct btrfs_dev_item, type, 64) | |
| BTRFS_SETGET_FUNCS (device_bytes_used, struct btrfs_dev_item, bytes_used, 64) | |
| BTRFS_SETGET_FUNCS (device_io_align, struct btrfs_dev_item, io_align, 32) | |
| BTRFS_SETGET_FUNCS (device_io_width, struct btrfs_dev_item, io_width, 32) | |
| BTRFS_SETGET_FUNCS (device_start_offset, struct btrfs_dev_item, start_offset, 64) | |
| BTRFS_SETGET_FUNCS (device_sector_size, struct btrfs_dev_item, sector_size, 32) | |
| BTRFS_SETGET_FUNCS (device_id, struct btrfs_dev_item, devid, 64) | |
| BTRFS_SETGET_FUNCS (device_group, struct btrfs_dev_item, dev_group, 32) | |
| BTRFS_SETGET_FUNCS (device_seek_speed, struct btrfs_dev_item, seek_speed, 8) | |
| BTRFS_SETGET_FUNCS (device_bandwidth, struct btrfs_dev_item, bandwidth, 8) | |
| BTRFS_SETGET_FUNCS (device_generation, struct btrfs_dev_item, generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_type, struct btrfs_dev_item, type, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_total_bytes, struct btrfs_dev_item, total_bytes, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_bytes_used, struct btrfs_dev_item, bytes_used, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_io_align, struct btrfs_dev_item, io_align, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_io_width, struct btrfs_dev_item, io_width, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_sector_size, struct btrfs_dev_item, sector_size, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_id, struct btrfs_dev_item, devid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_group, struct btrfs_dev_item, dev_group, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_seek_speed, struct btrfs_dev_item, seek_speed, 8) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_bandwidth, struct btrfs_dev_item, bandwidth, 8) | |
| BTRFS_SETGET_STACK_FUNCS (stack_device_generation, struct btrfs_dev_item, generation, 64) | |
| static unsigned long | btrfs_device_uuid (struct btrfs_dev_item *d) |
| static unsigned long | btrfs_device_fsid (struct btrfs_dev_item *d) |
| BTRFS_SETGET_FUNCS (chunk_length, struct btrfs_chunk, length, 64) | |
| BTRFS_SETGET_FUNCS (chunk_owner, struct btrfs_chunk, owner, 64) | |
| BTRFS_SETGET_FUNCS (chunk_stripe_len, struct btrfs_chunk, stripe_len, 64) | |
| BTRFS_SETGET_FUNCS (chunk_io_align, struct btrfs_chunk, io_align, 32) | |
| BTRFS_SETGET_FUNCS (chunk_io_width, struct btrfs_chunk, io_width, 32) | |
| BTRFS_SETGET_FUNCS (chunk_sector_size, struct btrfs_chunk, sector_size, 32) | |
| BTRFS_SETGET_FUNCS (chunk_type, struct btrfs_chunk, type, 64) | |
| BTRFS_SETGET_FUNCS (chunk_num_stripes, struct btrfs_chunk, num_stripes, 16) | |
| BTRFS_SETGET_FUNCS (chunk_sub_stripes, struct btrfs_chunk, sub_stripes, 16) | |
| BTRFS_SETGET_FUNCS (stripe_devid, struct btrfs_stripe, devid, 64) | |
| BTRFS_SETGET_FUNCS (stripe_offset, struct btrfs_stripe, offset, 64) | |
| static char * | btrfs_stripe_dev_uuid (struct btrfs_stripe *s) |
| BTRFS_SETGET_STACK_FUNCS (stack_chunk_length, struct btrfs_chunk, length, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_chunk_owner, struct btrfs_chunk, owner, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_chunk_stripe_len, struct btrfs_chunk, stripe_len, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_chunk_io_align, struct btrfs_chunk, io_align, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_chunk_io_width, struct btrfs_chunk, io_width, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_chunk_sector_size, struct btrfs_chunk, sector_size, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_chunk_type, struct btrfs_chunk, type, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_chunk_num_stripes, struct btrfs_chunk, num_stripes, 16) | |
| BTRFS_SETGET_STACK_FUNCS (stack_chunk_sub_stripes, struct btrfs_chunk, sub_stripes, 16) | |
| BTRFS_SETGET_STACK_FUNCS (stack_stripe_devid, struct btrfs_stripe, devid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_stripe_offset, struct btrfs_stripe, offset, 64) | |
| static struct btrfs_stripe * | btrfs_stripe_nr (struct btrfs_chunk *c, int nr) |
| static char * | btrfs_stripe_dev_uuid_nr (struct btrfs_chunk *c, int nr) |
| static u64 | btrfs_stripe_offset_nr (struct extent_buffer *eb, struct btrfs_chunk *c, int nr) |
| static u64 | btrfs_stripe_devid_nr (struct extent_buffer *eb, struct btrfs_chunk *c, int nr) |
| BTRFS_SETGET_STACK_FUNCS (block_group_used, struct btrfs_block_group_item, used, 64) | |
| BTRFS_SETGET_FUNCS (disk_block_group_used, struct btrfs_block_group_item, used, 64) | |
| BTRFS_SETGET_STACK_FUNCS (block_group_chunk_objectid, struct btrfs_block_group_item, chunk_objectid, 64) | |
| BTRFS_SETGET_FUNCS (disk_block_group_chunk_objectid, struct btrfs_block_group_item, chunk_objectid, 64) | |
| BTRFS_SETGET_FUNCS (disk_block_group_flags, struct btrfs_block_group_item, flags, 64) | |
| BTRFS_SETGET_STACK_FUNCS (block_group_flags, struct btrfs_block_group_item, flags, 64) | |
| BTRFS_SETGET_FUNCS (free_space_extent_count, struct btrfs_free_space_info, extent_count, 32) | |
| BTRFS_SETGET_FUNCS (free_space_flags, struct btrfs_free_space_info, flags, 32) | |
| BTRFS_SETGET_FUNCS (inode_ref_name_len, struct btrfs_inode_ref, name_len, 16) | |
| BTRFS_SETGET_FUNCS (inode_ref_index, struct btrfs_inode_ref, index, 64) | |
| BTRFS_SETGET_FUNCS (inode_extref_parent, struct btrfs_inode_extref, parent_objectid, 64) | |
| BTRFS_SETGET_FUNCS (inode_extref_name_len, struct btrfs_inode_extref, name_len, 16) | |
| BTRFS_SETGET_FUNCS (inode_extref_index, struct btrfs_inode_extref, index, 64) | |
| BTRFS_SETGET_FUNCS (inode_generation, struct btrfs_inode_item, generation, 64) | |
| BTRFS_SETGET_FUNCS (inode_sequence, struct btrfs_inode_item, sequence, 64) | |
| BTRFS_SETGET_FUNCS (inode_transid, struct btrfs_inode_item, transid, 64) | |
| BTRFS_SETGET_FUNCS (inode_size, struct btrfs_inode_item, size, 64) | |
| BTRFS_SETGET_FUNCS (inode_nbytes, struct btrfs_inode_item, nbytes, 64) | |
| BTRFS_SETGET_FUNCS (inode_block_group, struct btrfs_inode_item, block_group, 64) | |
| BTRFS_SETGET_FUNCS (inode_nlink, struct btrfs_inode_item, nlink, 32) | |
| BTRFS_SETGET_FUNCS (inode_uid, struct btrfs_inode_item, uid, 32) | |
| BTRFS_SETGET_FUNCS (inode_gid, struct btrfs_inode_item, gid, 32) | |
| BTRFS_SETGET_FUNCS (inode_mode, struct btrfs_inode_item, mode, 32) | |
| BTRFS_SETGET_FUNCS (inode_rdev, struct btrfs_inode_item, rdev, 64) | |
| BTRFS_SETGET_FUNCS (inode_flags, struct btrfs_inode_item, flags, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_generation, struct btrfs_inode_item, generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_sequence, struct btrfs_inode_item, sequence, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_transid, struct btrfs_inode_item, transid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_size, struct btrfs_inode_item, size, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_nbytes, struct btrfs_inode_item, nbytes, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_block_group, struct btrfs_inode_item, block_group, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_nlink, struct btrfs_inode_item, nlink, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_uid, struct btrfs_inode_item, uid, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_gid, struct btrfs_inode_item, gid, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_mode, struct btrfs_inode_item, mode, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_rdev, struct btrfs_inode_item, rdev, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_inode_flags, struct btrfs_inode_item, flags, 64) | |
| BTRFS_SETGET_FUNCS (timespec_sec, struct btrfs_timespec, sec, 64) | |
| BTRFS_SETGET_FUNCS (timespec_nsec, struct btrfs_timespec, nsec, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_timespec_sec, struct btrfs_timespec, sec, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_timespec_nsec, struct btrfs_timespec, nsec, 32) | |
| BTRFS_SETGET_FUNCS (dev_extent_chunk_tree, struct btrfs_dev_extent, chunk_tree, 64) | |
| BTRFS_SETGET_FUNCS (dev_extent_chunk_objectid, struct btrfs_dev_extent, chunk_objectid, 64) | |
| BTRFS_SETGET_FUNCS (dev_extent_chunk_offset, struct btrfs_dev_extent, chunk_offset, 64) | |
| BTRFS_SETGET_FUNCS (dev_extent_length, struct btrfs_dev_extent, length, 64) | |
| static unsigned long | btrfs_dev_extent_chunk_tree_uuid (struct btrfs_dev_extent *dev) |
| BTRFS_SETGET_FUNCS (extent_refs, struct btrfs_extent_item, refs, 64) | |
| BTRFS_SETGET_FUNCS (extent_generation, struct btrfs_extent_item, generation, 64) | |
| BTRFS_SETGET_FUNCS (extent_flags, struct btrfs_extent_item, flags, 64) | |
| BTRFS_SETGET_FUNCS (extent_refs_v0, struct btrfs_extent_item_v0, refs, 32) | |
| BTRFS_SETGET_FUNCS (tree_block_level, struct btrfs_tree_block_info, level, 8) | |
| static void | btrfs_tree_block_key (struct extent_buffer *eb, struct btrfs_tree_block_info *item, struct btrfs_disk_key *key) |
| static void | btrfs_set_tree_block_key (struct extent_buffer *eb, struct btrfs_tree_block_info *item, struct btrfs_disk_key *key) |
| BTRFS_SETGET_FUNCS (extent_data_ref_root, struct btrfs_extent_data_ref, root, 64) | |
| BTRFS_SETGET_FUNCS (extent_data_ref_objectid, struct btrfs_extent_data_ref, objectid, 64) | |
| BTRFS_SETGET_FUNCS (extent_data_ref_offset, struct btrfs_extent_data_ref, offset, 64) | |
| BTRFS_SETGET_FUNCS (extent_data_ref_count, struct btrfs_extent_data_ref, count, 32) | |
| BTRFS_SETGET_FUNCS (shared_data_ref_count, struct btrfs_shared_data_ref, count, 32) | |
| BTRFS_SETGET_FUNCS (extent_inline_ref_type, struct btrfs_extent_inline_ref, type, 8) | |
| BTRFS_SETGET_FUNCS (extent_inline_ref_offset, struct btrfs_extent_inline_ref, offset, 64) | |
| static u32 | btrfs_extent_inline_ref_size (int type) |
| BTRFS_SETGET_FUNCS (ref_root_v0, struct btrfs_extent_ref_v0, root, 64) | |
| BTRFS_SETGET_FUNCS (ref_generation_v0, struct btrfs_extent_ref_v0, generation, 64) | |
| BTRFS_SETGET_FUNCS (ref_objectid_v0, struct btrfs_extent_ref_v0, objectid, 64) | |
| BTRFS_SETGET_FUNCS (ref_count_v0, struct btrfs_extent_ref_v0, count, 32) | |
| BTRFS_SETGET_FUNCS (key_blockptr, struct btrfs_key_ptr, blockptr, 64) | |
| BTRFS_SETGET_FUNCS (key_generation, struct btrfs_key_ptr, generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_key_blockptr, struct btrfs_key_ptr, blockptr, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_key_generation, struct btrfs_key_ptr, generation, 64) | |
| static u64 | btrfs_node_blockptr (struct extent_buffer *eb, int nr) |
| static void | btrfs_set_node_blockptr (struct extent_buffer *eb, int nr, u64 val) |
| static u64 | btrfs_node_ptr_generation (struct extent_buffer *eb, int nr) |
| static void | btrfs_set_node_ptr_generation (struct extent_buffer *eb, int nr, u64 val) |
| static unsigned long | btrfs_node_key_ptr_offset (int nr) |
| void | btrfs_node_key (const struct extent_buffer *eb, struct btrfs_disk_key *disk_key, int nr) |
| static void | btrfs_set_node_key (struct extent_buffer *eb, struct btrfs_disk_key *disk_key, int nr) |
| BTRFS_SETGET_FUNCS (item_offset, struct btrfs_item, offset, 32) | |
| BTRFS_SETGET_FUNCS (item_size, struct btrfs_item, size, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_item_offset, struct btrfs_item, offset, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_item_size, struct btrfs_item, size, 32) | |
| static unsigned long | btrfs_item_nr_offset (int nr) |
| static struct btrfs_item * | btrfs_item_nr (int nr) |
| static u32 | btrfs_item_end (const struct extent_buffer *eb, struct btrfs_item *item) |
| static u32 | btrfs_item_end_nr (const struct extent_buffer *eb, int nr) |
| static u32 | btrfs_item_offset_nr (const struct extent_buffer *eb, int nr) |
| static u32 | btrfs_item_size_nr (const struct extent_buffer *eb, int nr) |
| static void | btrfs_item_key (const struct extent_buffer *eb, struct btrfs_disk_key *disk_key, int nr) |
| static void | btrfs_set_item_key (struct extent_buffer *eb, struct btrfs_disk_key *disk_key, int nr) |
| BTRFS_SETGET_FUNCS (dir_log_end, struct btrfs_dir_log_item, end, 64) | |
| BTRFS_SETGET_FUNCS (root_ref_dirid, struct btrfs_root_ref, dirid, 64) | |
| BTRFS_SETGET_FUNCS (root_ref_sequence, struct btrfs_root_ref, sequence, 64) | |
| BTRFS_SETGET_FUNCS (root_ref_name_len, struct btrfs_root_ref, name_len, 16) | |
| BTRFS_SETGET_FUNCS (dir_data_len, struct btrfs_dir_item, data_len, 16) | |
| BTRFS_SETGET_FUNCS (dir_type, struct btrfs_dir_item, type, 8) | |
| BTRFS_SETGET_FUNCS (dir_name_len, struct btrfs_dir_item, name_len, 16) | |
| BTRFS_SETGET_FUNCS (dir_transid, struct btrfs_dir_item, transid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dir_type, struct btrfs_dir_item, type, 8) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dir_data_len, struct btrfs_dir_item, data_len, 16) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dir_name_len, struct btrfs_dir_item, name_len, 16) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dir_transid, struct btrfs_dir_item, transid, 64) | |
| static void | btrfs_dir_item_key (const struct extent_buffer *eb, const struct btrfs_dir_item *item, struct btrfs_disk_key *key) |
| static void | btrfs_set_dir_item_key (struct extent_buffer *eb, struct btrfs_dir_item *item, const struct btrfs_disk_key *key) |
| BTRFS_SETGET_FUNCS (free_space_entries, struct btrfs_free_space_header, num_entries, 64) | |
| BTRFS_SETGET_FUNCS (free_space_bitmaps, struct btrfs_free_space_header, num_bitmaps, 64) | |
| BTRFS_SETGET_FUNCS (free_space_generation, struct btrfs_free_space_header, generation, 64) | |
| static void | btrfs_free_space_key (const struct extent_buffer *eb, const struct btrfs_free_space_header *h, struct btrfs_disk_key *key) |
| static void | btrfs_set_free_space_key (struct extent_buffer *eb, struct btrfs_free_space_header *h, const struct btrfs_disk_key *key) |
| BTRFS_SETGET_STACK_FUNCS (disk_key_objectid, struct btrfs_disk_key, objectid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (disk_key_offset, struct btrfs_disk_key, offset, 64) | |
| BTRFS_SETGET_STACK_FUNCS (disk_key_type, struct btrfs_disk_key, type, 8) | |
| static void | btrfs_disk_key_to_cpu (struct btrfs_key *cpu, const struct btrfs_disk_key *disk) |
| static void | btrfs_cpu_key_to_disk (struct btrfs_disk_key *disk, const struct btrfs_key *cpu) |
| static void | btrfs_node_key_to_cpu (const struct extent_buffer *eb, struct btrfs_key *key, int nr) |
| static void | btrfs_item_key_to_cpu (const struct extent_buffer *eb, struct btrfs_key *key, int nr) |
| static void | btrfs_dir_item_key_to_cpu (const struct extent_buffer *eb, const struct btrfs_dir_item *item, struct btrfs_key *key) |
| static u8 | btrfs_key_type (const struct btrfs_key *key) |
| static void | btrfs_set_key_type (struct btrfs_key *key, u8 val) |
| BTRFS_SETGET_HEADER_FUNCS (header_bytenr, struct btrfs_header, bytenr, 64) | |
| BTRFS_SETGET_HEADER_FUNCS (header_generation, struct btrfs_header, generation, 64) | |
| BTRFS_SETGET_HEADER_FUNCS (header_owner, struct btrfs_header, owner, 64) | |
| BTRFS_SETGET_HEADER_FUNCS (header_nritems, struct btrfs_header, nritems, 32) | |
| BTRFS_SETGET_HEADER_FUNCS (header_flags, struct btrfs_header, flags, 64) | |
| BTRFS_SETGET_HEADER_FUNCS (header_level, struct btrfs_header, level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (stack_header_generation, struct btrfs_header, generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_header_owner, struct btrfs_header, owner, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_header_nritems, struct btrfs_header, nritems, 32) | |
| BTRFS_SETGET_STACK_FUNCS (stack_header_bytenr, struct btrfs_header, bytenr, 64) | |
| static int | btrfs_header_flag (const struct extent_buffer *eb, u64 flag) |
| static int | btrfs_set_header_flag (struct extent_buffer *eb, u64 flag) |
| static int | btrfs_clear_header_flag (struct extent_buffer *eb, u64 flag) |
| static int | btrfs_header_backref_rev (const struct extent_buffer *eb) |
| static void | btrfs_set_header_backref_rev (struct extent_buffer *eb, int rev) |
| static unsigned long | btrfs_header_fsid (void) |
| static unsigned long | btrfs_header_chunk_tree_uuid (const struct extent_buffer *eb) |
| static int | btrfs_is_leaf (const struct extent_buffer *eb) |
| BTRFS_SETGET_FUNCS (disk_root_generation, struct btrfs_root_item, generation, 64) | |
| BTRFS_SETGET_FUNCS (disk_root_refs, struct btrfs_root_item, refs, 32) | |
| BTRFS_SETGET_FUNCS (disk_root_bytenr, struct btrfs_root_item, bytenr, 64) | |
| BTRFS_SETGET_FUNCS (disk_root_level, struct btrfs_root_item, level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (root_generation, struct btrfs_root_item, generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_bytenr, struct btrfs_root_item, bytenr, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_level, struct btrfs_root_item, level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (root_dirid, struct btrfs_root_item, root_dirid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_refs, struct btrfs_root_item, refs, 32) | |
| BTRFS_SETGET_STACK_FUNCS (root_flags, struct btrfs_root_item, flags, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_used, struct btrfs_root_item, bytes_used, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_limit, struct btrfs_root_item, byte_limit, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_last_snapshot, struct btrfs_root_item, last_snapshot, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_generation_v2, struct btrfs_root_item, generation_v2, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_ctransid, struct btrfs_root_item, ctransid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_otransid, struct btrfs_root_item, otransid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_stransid, struct btrfs_root_item, stransid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (root_rtransid, struct btrfs_root_item, rtransid, 64) | |
| static bool | btrfs_root_readonly (const struct btrfs_root *root) |
| static bool | btrfs_root_dead (const struct btrfs_root *root) |
| BTRFS_SETGET_STACK_FUNCS (backup_tree_root, struct btrfs_root_backup, tree_root, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_tree_root_gen, struct btrfs_root_backup, tree_root_gen, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_tree_root_level, struct btrfs_root_backup, tree_root_level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (backup_chunk_root, struct btrfs_root_backup, chunk_root, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_chunk_root_gen, struct btrfs_root_backup, chunk_root_gen, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_chunk_root_level, struct btrfs_root_backup, chunk_root_level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (backup_extent_root, struct btrfs_root_backup, extent_root, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_extent_root_gen, struct btrfs_root_backup, extent_root_gen, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_extent_root_level, struct btrfs_root_backup, extent_root_level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (backup_fs_root, struct btrfs_root_backup, fs_root, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_fs_root_gen, struct btrfs_root_backup, fs_root_gen, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_fs_root_level, struct btrfs_root_backup, fs_root_level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (backup_dev_root, struct btrfs_root_backup, dev_root, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_dev_root_gen, struct btrfs_root_backup, dev_root_gen, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_dev_root_level, struct btrfs_root_backup, dev_root_level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (backup_csum_root, struct btrfs_root_backup, csum_root, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_csum_root_gen, struct btrfs_root_backup, csum_root_gen, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_csum_root_level, struct btrfs_root_backup, csum_root_level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (backup_total_bytes, struct btrfs_root_backup, total_bytes, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_bytes_used, struct btrfs_root_backup, bytes_used, 64) | |
| BTRFS_SETGET_STACK_FUNCS (backup_num_devices, struct btrfs_root_backup, num_devices, 64) | |
| BTRFS_SETGET_FUNCS (balance_flags, struct btrfs_balance_item, flags, 64) | |
| static void | btrfs_balance_data (const struct extent_buffer *eb, const struct btrfs_balance_item *bi, struct btrfs_disk_balance_args *ba) |
| static void | btrfs_set_balance_data (struct extent_buffer *eb, struct btrfs_balance_item *bi, const struct btrfs_disk_balance_args *ba) |
| static void | btrfs_balance_meta (const struct extent_buffer *eb, const struct btrfs_balance_item *bi, struct btrfs_disk_balance_args *ba) |
| static void | btrfs_set_balance_meta (struct extent_buffer *eb, struct btrfs_balance_item *bi, const struct btrfs_disk_balance_args *ba) |
| static void | btrfs_balance_sys (const struct extent_buffer *eb, const struct btrfs_balance_item *bi, struct btrfs_disk_balance_args *ba) |
| static void | btrfs_set_balance_sys (struct extent_buffer *eb, struct btrfs_balance_item *bi, const struct btrfs_disk_balance_args *ba) |
| static void | btrfs_disk_balance_args_to_cpu (struct btrfs_balance_args *cpu, const struct btrfs_disk_balance_args *disk) |
| static void | btrfs_cpu_balance_args_to_disk (struct btrfs_disk_balance_args *disk, const struct btrfs_balance_args *cpu) |
| BTRFS_SETGET_STACK_FUNCS (super_bytenr, struct btrfs_super_block, bytenr, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_flags, struct btrfs_super_block, flags, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_generation, struct btrfs_super_block, generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_root, struct btrfs_super_block, root, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_sys_array_size, struct btrfs_super_block, sys_chunk_array_size, 32) | |
| BTRFS_SETGET_STACK_FUNCS (super_chunk_root_generation, struct btrfs_super_block, chunk_root_generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_root_level, struct btrfs_super_block, root_level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (super_chunk_root, struct btrfs_super_block, chunk_root, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_chunk_root_level, struct btrfs_super_block, chunk_root_level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (super_log_root, struct btrfs_super_block, log_root, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_log_root_transid, struct btrfs_super_block, log_root_transid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_log_root_level, struct btrfs_super_block, log_root_level, 8) | |
| BTRFS_SETGET_STACK_FUNCS (super_total_bytes, struct btrfs_super_block, total_bytes, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_bytes_used, struct btrfs_super_block, bytes_used, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_sectorsize, struct btrfs_super_block, sectorsize, 32) | |
| BTRFS_SETGET_STACK_FUNCS (super_nodesize, struct btrfs_super_block, nodesize, 32) | |
| BTRFS_SETGET_STACK_FUNCS (super_stripesize, struct btrfs_super_block, stripesize, 32) | |
| BTRFS_SETGET_STACK_FUNCS (super_root_dir, struct btrfs_super_block, root_dir_objectid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_num_devices, struct btrfs_super_block, num_devices, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_compat_flags, struct btrfs_super_block, compat_flags, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_compat_ro_flags, struct btrfs_super_block, compat_ro_flags, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_incompat_flags, struct btrfs_super_block, incompat_flags, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_csum_type, struct btrfs_super_block, csum_type, 16) | |
| BTRFS_SETGET_STACK_FUNCS (super_cache_generation, struct btrfs_super_block, cache_generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_magic, struct btrfs_super_block, magic, 64) | |
| BTRFS_SETGET_STACK_FUNCS (super_uuid_tree_generation, struct btrfs_super_block, uuid_tree_generation, 64) | |
| static int | btrfs_super_csum_size (const struct btrfs_super_block *s) |
| static unsigned int | leaf_data_end (const struct btrfs_fs_info *fs_info, const struct extent_buffer *leaf) |
| BTRFS_SETGET_FUNCS (file_extent_type, struct btrfs_file_extent_item, type, 8) | |
| BTRFS_SETGET_STACK_FUNCS (stack_file_extent_disk_bytenr, struct btrfs_file_extent_item, disk_bytenr, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_file_extent_offset, struct btrfs_file_extent_item, offset, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_file_extent_generation, struct btrfs_file_extent_item, generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_file_extent_num_bytes, struct btrfs_file_extent_item, num_bytes, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_file_extent_disk_num_bytes, struct btrfs_file_extent_item, disk_num_bytes, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_file_extent_compression, struct btrfs_file_extent_item, compression, 8) | |
| static unsigned long | btrfs_file_extent_inline_start (const struct btrfs_file_extent_item *e) |
| static u32 | btrfs_file_extent_calc_inline_size (u32 datasize) |
| BTRFS_SETGET_FUNCS (file_extent_disk_bytenr, struct btrfs_file_extent_item, disk_bytenr, 64) | |
| BTRFS_SETGET_FUNCS (file_extent_generation, struct btrfs_file_extent_item, generation, 64) | |
| BTRFS_SETGET_FUNCS (file_extent_disk_num_bytes, struct btrfs_file_extent_item, disk_num_bytes, 64) | |
| BTRFS_SETGET_FUNCS (file_extent_offset, struct btrfs_file_extent_item, offset, 64) | |
| BTRFS_SETGET_FUNCS (file_extent_num_bytes, struct btrfs_file_extent_item, num_bytes, 64) | |
| BTRFS_SETGET_FUNCS (file_extent_ram_bytes, struct btrfs_file_extent_item, ram_bytes, 64) | |
| BTRFS_SETGET_FUNCS (file_extent_compression, struct btrfs_file_extent_item, compression, 8) | |
| BTRFS_SETGET_FUNCS (file_extent_encryption, struct btrfs_file_extent_item, encryption, 8) | |
| BTRFS_SETGET_FUNCS (file_extent_other_encoding, struct btrfs_file_extent_item, other_encoding, 16) | |
| static u32 | btrfs_file_extent_inline_item_len (const struct extent_buffer *eb, struct btrfs_item *e) |
| static u32 | btrfs_file_extent_inline_len (const struct extent_buffer *eb, int slot, const struct btrfs_file_extent_item *fi) |
| static u64 | btrfs_dev_stats_value (const struct extent_buffer *eb, const struct btrfs_dev_stats_item *ptr, int index) |
| static void | btrfs_set_dev_stats_value (struct extent_buffer *eb, struct btrfs_dev_stats_item *ptr, int index, u64 val) |
| BTRFS_SETGET_FUNCS (qgroup_status_generation, struct btrfs_qgroup_status_item, generation, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_status_version, struct btrfs_qgroup_status_item, version, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_status_flags, struct btrfs_qgroup_status_item, flags, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_status_rescan, struct btrfs_qgroup_status_item, rescan, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_info_generation, struct btrfs_qgroup_info_item, generation, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_info_rfer, struct btrfs_qgroup_info_item, rfer, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_info_rfer_cmpr, struct btrfs_qgroup_info_item, rfer_cmpr, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_info_excl, struct btrfs_qgroup_info_item, excl, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_info_excl_cmpr, struct btrfs_qgroup_info_item, excl_cmpr, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_qgroup_info_generation, struct btrfs_qgroup_info_item, generation, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_qgroup_info_rfer, struct btrfs_qgroup_info_item, rfer, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_qgroup_info_rfer_cmpr, struct btrfs_qgroup_info_item, rfer_cmpr, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_qgroup_info_excl, struct btrfs_qgroup_info_item, excl, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_qgroup_info_excl_cmpr, struct btrfs_qgroup_info_item, excl_cmpr, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_limit_flags, struct btrfs_qgroup_limit_item, flags, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_limit_max_rfer, struct btrfs_qgroup_limit_item, max_rfer, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_limit_max_excl, struct btrfs_qgroup_limit_item, max_excl, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_limit_rsv_rfer, struct btrfs_qgroup_limit_item, rsv_rfer, 64) | |
| BTRFS_SETGET_FUNCS (qgroup_limit_rsv_excl, struct btrfs_qgroup_limit_item, rsv_excl, 64) | |
| BTRFS_SETGET_FUNCS (dev_replace_src_devid, struct btrfs_dev_replace_item, src_devid, 64) | |
| BTRFS_SETGET_FUNCS (dev_replace_cont_reading_from_srcdev_mode, struct btrfs_dev_replace_item, cont_reading_from_srcdev_mode, 64) | |
| BTRFS_SETGET_FUNCS (dev_replace_replace_state, struct btrfs_dev_replace_item, replace_state, 64) | |
| BTRFS_SETGET_FUNCS (dev_replace_time_started, struct btrfs_dev_replace_item, time_started, 64) | |
| BTRFS_SETGET_FUNCS (dev_replace_time_stopped, struct btrfs_dev_replace_item, time_stopped, 64) | |
| BTRFS_SETGET_FUNCS (dev_replace_num_write_errors, struct btrfs_dev_replace_item, num_write_errors, 64) | |
| BTRFS_SETGET_FUNCS (dev_replace_num_uncorrectable_read_errors, struct btrfs_dev_replace_item, num_uncorrectable_read_errors, 64) | |
| BTRFS_SETGET_FUNCS (dev_replace_cursor_left, struct btrfs_dev_replace_item, cursor_left, 64) | |
| BTRFS_SETGET_FUNCS (dev_replace_cursor_right, struct btrfs_dev_replace_item, cursor_right, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dev_replace_src_devid, struct btrfs_dev_replace_item, src_devid, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dev_replace_cont_reading_from_srcdev_mode, struct btrfs_dev_replace_item, cont_reading_from_srcdev_mode, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dev_replace_replace_state, struct btrfs_dev_replace_item, replace_state, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dev_replace_time_started, struct btrfs_dev_replace_item, time_started, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dev_replace_time_stopped, struct btrfs_dev_replace_item, time_stopped, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dev_replace_num_write_errors, struct btrfs_dev_replace_item, num_write_errors, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dev_replace_num_uncorrectable_read_errors, struct btrfs_dev_replace_item, num_uncorrectable_read_errors, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dev_replace_cursor_left, struct btrfs_dev_replace_item, cursor_left, 64) | |
| BTRFS_SETGET_STACK_FUNCS (stack_dev_replace_cursor_right, struct btrfs_dev_replace_item, cursor_right, 64) | |
| static u64 | btrfs_name_hash (const char *name, int len) |
| static u64 | btrfs_extref_hash (u64 parent_objectid, const char *name, int len) |
| static bool | btrfs_mixed_space_info (struct btrfs_space_info *space_info) |
| static gfp_t | btrfs_alloc_write_mask (struct address_space *mapping) |
| int | btrfs_get_extent_inline_ref_type (const struct extent_buffer *eb, struct btrfs_extent_inline_ref *iref, enum btrfs_inline_ref_type is_data) |
| u64 | btrfs_csum_bytes_to_leaves (struct btrfs_fs_info *fs_info, u64 csum_bytes) |
| static u64 | btrfs_calc_trans_metadata_size (struct btrfs_fs_info *fs_info, unsigned num_items) |
| static u64 | btrfs_calc_trunc_metadata_size (struct btrfs_fs_info *fs_info, unsigned num_items) |
| int | btrfs_should_throttle_delayed_refs (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info) |
| int | btrfs_check_space_for_delayed_refs (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info) |
| void | btrfs_dec_block_group_reservations (struct btrfs_fs_info *fs_info, const u64 start) |
| void | btrfs_wait_block_group_reservations (struct btrfs_block_group_cache *bg) |
| bool | btrfs_inc_nocow_writers (struct btrfs_fs_info *fs_info, u64 bytenr) |
| void | btrfs_dec_nocow_writers (struct btrfs_fs_info *fs_info, u64 bytenr) |
| void | btrfs_wait_nocow_writers (struct btrfs_block_group_cache *bg) |
| void | btrfs_put_block_group (struct btrfs_block_group_cache *cache) |
| int | btrfs_run_delayed_refs (struct btrfs_trans_handle *trans, unsigned long count) |
| int | btrfs_async_run_delayed_refs (struct btrfs_fs_info *fs_info, unsigned long count, u64 transid, int wait) |
| int | btrfs_lookup_data_extent (struct btrfs_fs_info *fs_info, u64 start, u64 len) |
| int | btrfs_lookup_extent_info (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 bytenr, u64 offset, int metadata, u64 *refs, u64 *flags) |
| int | btrfs_pin_extent (struct btrfs_fs_info *fs_info, u64 bytenr, u64 num, int reserved) |
| int | btrfs_pin_extent_for_log_replay (struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes) |
| int | btrfs_exclude_logged_extents (struct btrfs_fs_info *fs_info, struct extent_buffer *eb) |
| int | btrfs_cross_ref_exist (struct btrfs_root *root, u64 objectid, u64 offset, u64 bytenr) |
| struct btrfs_block_group_cache * | btrfs_lookup_block_group (struct btrfs_fs_info *info, u64 bytenr) |
| void | btrfs_get_block_group (struct btrfs_block_group_cache *cache) |
| struct extent_buffer * | btrfs_alloc_tree_block (struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 parent, u64 root_objectid, const struct btrfs_disk_key *key, int level, u64 hint, u64 empty_size) |
| void | btrfs_free_tree_block (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, u64 parent, int last_ref) |
| int | btrfs_alloc_reserved_file_extent (struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 owner, u64 offset, u64 ram_bytes, struct btrfs_key *ins) |
| int | btrfs_alloc_logged_file_extent (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 root_objectid, u64 owner, u64 offset, struct btrfs_key *ins) |
| int | btrfs_reserve_extent (struct btrfs_root *root, u64 ram_bytes, u64 num_bytes, u64 min_alloc_size, u64 empty_size, u64 hint_byte, struct btrfs_key *ins, int is_data, int delalloc) |
| int | btrfs_inc_ref (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, int full_backref) |
| int | btrfs_dec_ref (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, int full_backref) |
| int | btrfs_set_disk_extent_flags (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes, u64 flags, int level, int is_data) |
| int | btrfs_free_extent (struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset) |
| int | btrfs_free_reserved_extent (struct btrfs_fs_info *fs_info, u64 start, u64 len, int delalloc) |
| int | btrfs_free_and_pin_reserved_extent (struct btrfs_fs_info *fs_info, u64 start, u64 len) |
| void | btrfs_prepare_extent_commit (struct btrfs_fs_info *fs_info) |
| int | btrfs_finish_extent_commit (struct btrfs_trans_handle *trans) |
| int | btrfs_inc_extent_ref (struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset) |
| int | btrfs_start_dirty_block_groups (struct btrfs_trans_handle *trans) |
| int | btrfs_write_dirty_block_groups (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info) |
| int | btrfs_setup_space_cache (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info) |
| int | btrfs_extent_readonly (struct btrfs_fs_info *fs_info, u64 bytenr) |
| int | btrfs_free_block_groups (struct btrfs_fs_info *info) |
| int | btrfs_read_block_groups (struct btrfs_fs_info *info) |
| int | btrfs_can_relocate (struct btrfs_fs_info *fs_info, u64 bytenr) |
| int | btrfs_make_block_group (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 bytes_used, u64 type, u64 chunk_offset, u64 size) |
| void | btrfs_add_raid_kobjects (struct btrfs_fs_info *fs_info) |
| struct btrfs_trans_handle * | btrfs_start_trans_remove_block_group (struct btrfs_fs_info *fs_info, const u64 chunk_offset) |
| int | btrfs_remove_block_group (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 group_start, struct extent_map *em) |
| void | btrfs_delete_unused_bgs (struct btrfs_fs_info *fs_info) |
| void | btrfs_get_block_group_trimming (struct btrfs_block_group_cache *cache) |
| void | btrfs_put_block_group_trimming (struct btrfs_block_group_cache *cache) |
| void | btrfs_create_pending_block_groups (struct btrfs_trans_handle *trans) |
| u64 | btrfs_data_alloc_profile (struct btrfs_fs_info *fs_info) |
| u64 | btrfs_metadata_alloc_profile (struct btrfs_fs_info *fs_info) |
| u64 | btrfs_system_alloc_profile (struct btrfs_fs_info *fs_info) |
| void | btrfs_clear_space_info_full (struct btrfs_fs_info *info) |
| int | btrfs_alloc_data_chunk_ondemand (struct btrfs_inode *inode, u64 bytes) |
| int | btrfs_check_data_free_space (struct inode *inode, struct extent_changeset **reserved, u64 start, u64 len) |
| void | btrfs_free_reserved_data_space (struct inode *inode, struct extent_changeset *reserved, u64 start, u64 len) |
| void | btrfs_delalloc_release_space (struct inode *inode, struct extent_changeset *reserved, u64 start, u64 len, bool qgroup_free) |
| void | btrfs_free_reserved_data_space_noquota (struct inode *inode, u64 start, u64 len) |
| void | btrfs_trans_release_chunk_metadata (struct btrfs_trans_handle *trans) |
| int | btrfs_orphan_reserve_metadata (struct btrfs_trans_handle *trans, struct btrfs_inode *inode) |
| void | btrfs_orphan_release_metadata (struct btrfs_inode *inode) |
| int | btrfs_subvolume_reserve_metadata (struct btrfs_root *root, struct btrfs_block_rsv *rsv, int nitems, u64 *qgroup_reserved, bool use_global_rsv) |
| void | btrfs_subvolume_release_metadata (struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *rsv) |
| void | btrfs_delalloc_release_extents (struct btrfs_inode *inode, u64 num_bytes, bool qgroup_free) |
| int | btrfs_delalloc_reserve_metadata (struct btrfs_inode *inode, u64 num_bytes) |
| void | btrfs_delalloc_release_metadata (struct btrfs_inode *inode, u64 num_bytes, bool qgroup_free) |
| int | btrfs_delalloc_reserve_space (struct inode *inode, struct extent_changeset **reserved, u64 start, u64 len) |
| void | btrfs_init_block_rsv (struct btrfs_block_rsv *rsv, unsigned short type) |
| struct btrfs_block_rsv * | btrfs_alloc_block_rsv (struct btrfs_fs_info *fs_info, unsigned short type) |
| void | btrfs_init_metadata_block_rsv (struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *rsv, unsigned short type) |
| void | btrfs_free_block_rsv (struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *rsv) |
| void | __btrfs_free_block_rsv (struct btrfs_block_rsv *rsv) |
| int | btrfs_block_rsv_add (struct btrfs_root *root, struct btrfs_block_rsv *block_rsv, u64 num_bytes, enum btrfs_reserve_flush_enum flush) |
| int | btrfs_block_rsv_check (struct btrfs_block_rsv *block_rsv, int min_factor) |
| int | btrfs_block_rsv_refill (struct btrfs_root *root, struct btrfs_block_rsv *block_rsv, u64 min_reserved, enum btrfs_reserve_flush_enum flush) |
| int | btrfs_block_rsv_migrate (struct btrfs_block_rsv *src_rsv, struct btrfs_block_rsv *dst_rsv, u64 num_bytes, int update_size) |
| int | btrfs_cond_migrate_bytes (struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *dest, u64 num_bytes, int min_factor) |
| void | btrfs_block_rsv_release (struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *block_rsv, u64 num_bytes) |
| int | btrfs_inc_block_group_ro (struct btrfs_fs_info *fs_info, struct btrfs_block_group_cache *cache) |
| void | btrfs_dec_block_group_ro (struct btrfs_block_group_cache *cache) |
| void | btrfs_put_block_group_cache (struct btrfs_fs_info *info) |
| u64 | btrfs_account_ro_block_groups_free_space (struct btrfs_space_info *sinfo) |
| int | btrfs_error_unpin_extent_range (struct btrfs_fs_info *fs_info, u64 start, u64 end) |
| int | btrfs_discard_extent (struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes, u64 *actual_bytes) |
| int | btrfs_force_chunk_alloc (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 type) |
| int | btrfs_trim_fs (struct btrfs_fs_info *fs_info, struct fstrim_range *range) |
| int | btrfs_init_space_info (struct btrfs_fs_info *fs_info) |
| int | btrfs_delayed_refs_qgroup_accounting (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info) |
| int | btrfs_start_write_no_snapshotting (struct btrfs_root *root) |
| void | btrfs_end_write_no_snapshotting (struct btrfs_root *root) |
| void | btrfs_wait_for_snapshot_creation (struct btrfs_root *root) |
| void | check_system_chunk (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, const u64 type) |
| u64 | add_new_free_space (struct btrfs_block_group_cache *block_group, struct btrfs_fs_info *info, u64 start, u64 end) |
| int | btrfs_bin_search (struct extent_buffer *eb, const struct btrfs_key *key, int level, int *slot) |
| int | btrfs_comp_cpu_keys (const struct btrfs_key *k1, const struct btrfs_key *k2) |
| int | btrfs_previous_item (struct btrfs_root *root, struct btrfs_path *path, u64 min_objectid, int type) |
| int | btrfs_previous_extent_item (struct btrfs_root *root, struct btrfs_path *path, u64 min_objectid) |
| void | btrfs_set_item_key_safe (struct btrfs_fs_info *fs_info, struct btrfs_path *path, const struct btrfs_key *new_key) |
| struct extent_buffer * | btrfs_root_node (struct btrfs_root *root) |
| struct extent_buffer * | btrfs_lock_root_node (struct btrfs_root *root) |
| struct extent_buffer * | btrfs_read_lock_root_node (struct btrfs_root *root) |
| int | btrfs_find_next_key (struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *key, int lowest_level, u64 min_trans) |
| int | btrfs_search_forward (struct btrfs_root *root, struct btrfs_key *min_key, struct btrfs_path *path, u64 min_trans) |
| int | btrfs_compare_trees (struct btrfs_root *left_root, struct btrfs_root *right_root, btrfs_changed_cb_t cb, void *ctx) |
| int | btrfs_cow_block (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, struct extent_buffer *parent, int parent_slot, struct extent_buffer **cow_ret) |
| int | btrfs_copy_root (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, struct extent_buffer **cow_ret, u64 new_root_objectid) |
| int | btrfs_block_can_be_shared (struct btrfs_root *root, struct extent_buffer *buf) |
| void | btrfs_extend_item (struct btrfs_fs_info *fs_info, struct btrfs_path *path, u32 data_size) |
| void | btrfs_truncate_item (struct btrfs_fs_info *fs_info, struct btrfs_path *path, u32 new_size, int from_end) |
| int | btrfs_split_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *new_key, unsigned long split_offset) |
| int | btrfs_duplicate_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *new_key) |
| int | btrfs_find_item (struct btrfs_root *fs_root, struct btrfs_path *path, u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key) |
| int | btrfs_search_slot (struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_path *p, int ins_len, int cow) |
| int | btrfs_search_old_slot (struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_path *p, u64 time_seq) |
| int | btrfs_search_slot_for_read (struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_path *p, int find_higher, int return_any) |
| int | btrfs_realloc_node (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *parent, int start_slot, u64 *last_ret, struct btrfs_key *progress) |
| void | btrfs_release_path (struct btrfs_path *p) |
| struct btrfs_path * | btrfs_alloc_path (void) |
| void | btrfs_free_path (struct btrfs_path *p) |
| void | btrfs_set_path_blocking (struct btrfs_path *p) |
| void | btrfs_clear_path_blocking (struct btrfs_path *p, struct extent_buffer *held, int held_rw) |
| void | btrfs_unlock_up_safe (struct btrfs_path *p, int level) |
| int | btrfs_del_items (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int slot, int nr) |
| static int | btrfs_del_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path) |
| void | setup_items_for_insert (struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *cpu_key, u32 *data_size, u32 total_data, u32 total_size, int nr) |
| int | btrfs_insert_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, void *data, u32 data_size) |
| int | btrfs_insert_empty_items (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *cpu_key, u32 *data_size, int nr) |
| static int | btrfs_insert_empty_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *key, u32 data_size) |
| int | btrfs_next_leaf (struct btrfs_root *root, struct btrfs_path *path) |
| int | btrfs_prev_leaf (struct btrfs_root *root, struct btrfs_path *path) |
| int | btrfs_next_old_leaf (struct btrfs_root *root, struct btrfs_path *path, u64 time_seq) |
| static int | btrfs_next_old_item (struct btrfs_root *root, struct btrfs_path *p, u64 time_seq) |
| static int | btrfs_next_item (struct btrfs_root *root, struct btrfs_path *p) |
| int | btrfs_leaf_free_space (struct btrfs_fs_info *fs_info, struct extent_buffer *leaf) |
| int __must_check | btrfs_drop_snapshot (struct btrfs_root *root, struct btrfs_block_rsv *block_rsv, int update_ref, int for_reloc) |
| int | btrfs_drop_subtree (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *node, struct extent_buffer *parent) |
| static int | btrfs_fs_closing (struct btrfs_fs_info *fs_info) |
| static int | btrfs_need_cleaner_sleep (struct btrfs_fs_info *fs_info) |
| static void | free_fs_info (struct btrfs_fs_info *fs_info) |
| u64 | btrfs_get_tree_mod_seq (struct btrfs_fs_info *fs_info, struct seq_list *elem) |
| void | btrfs_put_tree_mod_seq (struct btrfs_fs_info *fs_info, struct seq_list *elem) |
| int | btrfs_old_root_level (struct btrfs_root *root, u64 time_seq) |
| int | btrfs_add_root_ref (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 root_id, u64 ref_id, u64 dirid, u64 sequence, const char *name, int name_len) |
| int | btrfs_del_root_ref (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 root_id, u64 ref_id, u64 dirid, u64 *sequence, const char *name, int name_len) |
| int | btrfs_del_root (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, const struct btrfs_key *key) |
| int | btrfs_insert_root (struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_root_item *item) |
| int __must_check | btrfs_update_root (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_key *key, struct btrfs_root_item *item) |
| int | btrfs_find_root (struct btrfs_root *root, const struct btrfs_key *search_key, struct btrfs_path *path, struct btrfs_root_item *root_item, struct btrfs_key *root_key) |
| int | btrfs_find_orphan_roots (struct btrfs_fs_info *fs_info) |
| void | btrfs_set_root_node (struct btrfs_root_item *item, struct extent_buffer *node) |
| void | btrfs_check_and_init_root_item (struct btrfs_root_item *item) |
| void | btrfs_update_root_times (struct btrfs_trans_handle *trans, struct btrfs_root *root) |
| int | btrfs_uuid_tree_add (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u8 *uuid, u8 type, u64 subid) |
| int | btrfs_uuid_tree_rem (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u8 *uuid, u8 type, u64 subid) |
| int | btrfs_uuid_tree_iterate (struct btrfs_fs_info *fs_info, int(*check_func)(struct btrfs_fs_info *, u8 *, u8, u64)) |
| int | btrfs_check_dir_item_collision (struct btrfs_root *root, u64 dir, const char *name, int name_len) |
| int | btrfs_insert_dir_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *name, int name_len, struct btrfs_inode *dir, struct btrfs_key *location, u8 type, u64 index) |
| struct btrfs_dir_item * | btrfs_lookup_dir_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 dir, const char *name, int name_len, int mod) |
| struct btrfs_dir_item * | btrfs_lookup_dir_index_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 dir, u64 objectid, const char *name, int name_len, int mod) |
| struct btrfs_dir_item * | btrfs_search_dir_index_item (struct btrfs_root *root, struct btrfs_path *path, u64 dirid, const char *name, int name_len) |
| int | btrfs_delete_one_dir_name (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_dir_item *di) |
| int | btrfs_insert_xattr_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid, const char *name, u16 name_len, const void *data, u16 data_len) |
| struct btrfs_dir_item * | btrfs_lookup_xattr (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 dir, const char *name, u16 name_len, int mod) |
| struct btrfs_dir_item * | btrfs_match_dir_item_name (struct btrfs_fs_info *fs_info, struct btrfs_path *path, const char *name, int name_len) |
| int | btrfs_insert_orphan_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 offset) |
| int | btrfs_del_orphan_item (struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 offset) |
| int | btrfs_find_orphan_item (struct btrfs_root *root, u64 offset) |
| int | btrfs_insert_inode_ref (struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *name, int name_len, u64 inode_objectid, u64 ref_objectid, u64 index) |
| int | btrfs_del_inode_ref (struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *name, int name_len, u64 inode_objectid, u64 ref_objectid, u64 *index) |
| int | btrfs_insert_empty_inode (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid) |
| int | btrfs_lookup_inode (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *location, int mod) |
| struct btrfs_inode_extref * | btrfs_lookup_inode_extref (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const char *name, int name_len, u64 inode_objectid, u64 ref_objectid, int ins_len, int cow) |
| int | btrfs_find_name_in_backref (struct extent_buffer *leaf, int slot, const char *name, int name_len, struct btrfs_inode_ref **ref_ret) |
| int | btrfs_find_name_in_ext_backref (struct extent_buffer *leaf, int slot, u64 ref_objectid, const char *name, int name_len, struct btrfs_inode_extref **extref_ret) |
| int | btrfs_del_csums (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 bytenr, u64 len) |
| blk_status_t | btrfs_lookup_bio_sums (struct inode *inode, struct bio *bio, u32 *dst) |
| blk_status_t | btrfs_lookup_bio_sums_dio (struct inode *inode, struct bio *bio, u64 logical_offset) |
| int | btrfs_insert_file_extent (struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid, u64 pos, u64 disk_offset, u64 disk_num_bytes, u64 num_bytes, u64 offset, u64 ram_bytes, u8 compression, u8 encryption, u16 other_encoding) |
| int | btrfs_lookup_file_extent (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid, u64 bytenr, int mod) |
| int | btrfs_csum_file_blocks (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_ordered_sum *sums) |
| blk_status_t | btrfs_csum_one_bio (struct inode *inode, struct bio *bio, u64 file_start, int contig) |
| int | btrfs_lookup_csums_range (struct btrfs_root *root, u64 start, u64 end, struct list_head *list, int search_commit) |
| void | btrfs_extent_item_to_extent_map (struct btrfs_inode *inode, const struct btrfs_path *path, struct btrfs_file_extent_item *fi, const bool new_inline, struct extent_map *em) |
| struct btrfs_delalloc_work * | btrfs_alloc_delalloc_work (struct inode *inode, int delay_iput) |
| void | btrfs_wait_and_free_delalloc_work (struct btrfs_delalloc_work *work) |
| struct extent_map * | btrfs_get_extent_fiemap (struct btrfs_inode *inode, struct page *page, size_t pg_offset, u64 start, u64 len, int create) |
| noinline int | can_nocow_extent (struct inode *inode, u64 offset, u64 *len, u64 *orig_start, u64 *orig_block_len, u64 *ram_bytes) |
| void | __btrfs_del_delalloc_inode (struct btrfs_root *root, struct btrfs_inode *inode) |
| struct inode * | btrfs_lookup_dentry (struct inode *dir, struct dentry *dentry) |
| int | btrfs_set_inode_index (struct btrfs_inode *dir, u64 *index) |
| int | btrfs_unlink_inode (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *dir, struct btrfs_inode *inode, const char *name, int name_len) |
| int | btrfs_add_link (struct btrfs_trans_handle *trans, struct btrfs_inode *parent_inode, struct btrfs_inode *inode, const char *name, int name_len, int add_backref, u64 index) |
| int | btrfs_unlink_subvol (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *dir, u64 objectid, const char *name, int name_len) |
| int | btrfs_truncate_block (struct inode *inode, loff_t from, loff_t len, int front) |
| int | btrfs_truncate_inode_items (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode, u64 new_size, u32 min_type) |
| int | btrfs_start_delalloc_inodes (struct btrfs_root *root, int delay_iput) |
| int | btrfs_start_delalloc_roots (struct btrfs_fs_info *fs_info, int delay_iput, int nr) |
| int | btrfs_set_extent_delalloc (struct inode *inode, u64 start, u64 end, unsigned int extra_bits, struct extent_state **cached_state, int dedupe) |
| int | btrfs_create_subvol_root (struct btrfs_trans_handle *trans, struct btrfs_root *new_root, struct btrfs_root *parent_root, u64 new_dirid) |
| int | btrfs_merge_bio_hook (struct page *page, unsigned long offset, size_t size, struct bio *bio, unsigned long bio_flags) |
| void | btrfs_set_range_writeback (void *private_data, u64 start, u64 end) |
| int | btrfs_page_mkwrite (struct vm_fault *vmf) |
| int | btrfs_readpage (struct file *file, struct page *page) |
| void | btrfs_evict_inode (struct inode *inode) |
| int | btrfs_write_inode (struct inode *inode, struct writeback_control *wbc) |
| struct inode * | btrfs_alloc_inode (struct super_block *sb) |
| void | btrfs_destroy_inode (struct inode *inode) |
| int | btrfs_drop_inode (struct inode *inode) |
| int __init | btrfs_init_cachep (void) |
| void __cold | btrfs_destroy_cachep (void) |
| struct inode * | btrfs_iget (struct super_block *s, struct btrfs_key *location, struct btrfs_root *root, int *was_new) |
| struct extent_map * | btrfs_get_extent (struct btrfs_inode *inode, struct page *page, size_t pg_offset, u64 start, u64 end, int create) |
| int | btrfs_update_inode (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode) |
| int | btrfs_update_inode_fallback (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode) |
| int | btrfs_orphan_add (struct btrfs_trans_handle *trans, struct btrfs_inode *inode) |
| int | btrfs_orphan_cleanup (struct btrfs_root *root) |
| void | btrfs_orphan_commit_root (struct btrfs_trans_handle *trans, struct btrfs_root *root) |
| int | btrfs_cont_expand (struct inode *inode, loff_t oldsize, loff_t size) |
| void | btrfs_invalidate_inodes (struct btrfs_root *root) |
| void | btrfs_add_delayed_iput (struct inode *inode) |
| void | btrfs_run_delayed_iputs (struct btrfs_fs_info *fs_info) |
| int | btrfs_prealloc_file_range (struct inode *inode, int mode, u64 start, u64 num_bytes, u64 min_size, loff_t actual_len, u64 *alloc_hint) |
| int | btrfs_prealloc_file_range_trans (struct inode *inode, struct btrfs_trans_handle *trans, int mode, u64 start, u64 num_bytes, u64 min_size, loff_t actual_len, u64 *alloc_hint) |
| long | btrfs_ioctl (struct file *file, unsigned int cmd, unsigned long arg) |
| long | btrfs_compat_ioctl (struct file *file, unsigned int cmd, unsigned long arg) |
| int | btrfs_ioctl_get_supported_features (void __user *arg) |
| void | btrfs_update_iflags (struct inode *inode) |
| int | btrfs_is_empty_uuid (u8 *uuid) |
| int | btrfs_defrag_file (struct inode *inode, struct file *file, struct btrfs_ioctl_defrag_range_args *range, u64 newer_than, unsigned long max_pages) |
| void | btrfs_get_block_group_info (struct list_head *groups_list, struct btrfs_ioctl_space_info *space) |
| void | update_ioctl_balance_args (struct btrfs_fs_info *fs_info, int lock, struct btrfs_ioctl_balance_args *bargs) |
| ssize_t | btrfs_dedupe_file_range (struct file *src_file, u64 loff, u64 olen, struct file *dst_file, u64 dst_loff) |
| int __init | btrfs_auto_defrag_init (void) |
| void __cold | btrfs_auto_defrag_exit (void) |
| int | btrfs_add_inode_defrag (struct btrfs_trans_handle *trans, struct btrfs_inode *inode) |
| int | btrfs_run_defrag_inodes (struct btrfs_fs_info *fs_info) |
| void | btrfs_cleanup_defrag_inodes (struct btrfs_fs_info *fs_info) |
| int | btrfs_sync_file (struct file *file, loff_t start, loff_t end, int datasync) |
| void | btrfs_drop_extent_cache (struct btrfs_inode *inode, u64 start, u64 end, int skip_pinned) |
| int | __btrfs_drop_extents (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode, struct btrfs_path *path, u64 start, u64 end, u64 *drop_end, int drop_cache, int replace_extent, u32 extent_item_size, int *key_inserted) |
| int | btrfs_drop_extents (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode, u64 start, u64 end, int drop_cache) |
| int | btrfs_mark_extent_written (struct btrfs_trans_handle *trans, struct btrfs_inode *inode, u64 start, u64 end) |
| int | btrfs_release_file (struct inode *inode, struct file *file) |
| int | btrfs_dirty_pages (struct inode *inode, struct page **pages, size_t num_pages, loff_t pos, size_t write_bytes, struct extent_state **cached) |
| int | btrfs_fdatawrite_range (struct inode *inode, loff_t start, loff_t end) |
| int | btrfs_clone_file_range (struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, u64 len) |
| int | btrfs_defrag_leaves (struct btrfs_trans_handle *trans, struct btrfs_root *root) |
| int __init | btrfs_init_sysfs (void) |
| void __cold | btrfs_exit_sysfs (void) |
| int | btrfs_sysfs_add_mounted (struct btrfs_fs_info *fs_info) |
| void | btrfs_sysfs_remove_mounted (struct btrfs_fs_info *fs_info) |
| int | btrfs_parse_options (struct btrfs_fs_info *info, char *options, unsigned long new_flags) |
| int | btrfs_sync_fs (struct super_block *sb, int wait) |
| static | __printf (2, 3) __cold void btrfs_no_printk(const struct btrfs_fs_info *fs_info |
| static const char const char * | btrfs_decode_error (int errno) |
| __cold void | __btrfs_abort_transaction (struct btrfs_trans_handle *trans, const char *function, unsigned int line, int errno) |
| __printf (5, 6) __cold void __btrfs_panic(struct btrfs_fs_info *fs_info | |
| static void | __btrfs_set_fs_incompat (struct btrfs_fs_info *fs_info, u64 flag) |
| static void | __btrfs_clear_fs_incompat (struct btrfs_fs_info *fs_info, u64 flag) |
| static bool | __btrfs_fs_incompat (struct btrfs_fs_info *fs_info, u64 flag) |
| static void | __btrfs_set_fs_compat_ro (struct btrfs_fs_info *fs_info, u64 flag) |
| static void | __btrfs_clear_fs_compat_ro (struct btrfs_fs_info *fs_info, u64 flag) |
| static int | __btrfs_fs_compat_ro (struct btrfs_fs_info *fs_info, u64 flag) |
| static int | btrfs_init_acl (struct btrfs_trans_handle *trans, struct inode *inode, struct inode *dir) |
| int | btrfs_relocate_block_group (struct btrfs_fs_info *fs_info, u64 group_start) |
| int | btrfs_init_reloc_root (struct btrfs_trans_handle *trans, struct btrfs_root *root) |
| int | btrfs_update_reloc_root (struct btrfs_trans_handle *trans, struct btrfs_root *root) |
| int | btrfs_recover_relocation (struct btrfs_root *root) |
| int | btrfs_reloc_clone_csums (struct inode *inode, u64 file_pos, u64 len) |
| int | btrfs_reloc_cow_block (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, struct extent_buffer *cow) |
| void | btrfs_reloc_pre_snapshot (struct btrfs_pending_snapshot *pending, u64 *bytes_to_reserve) |
| int | btrfs_reloc_post_snapshot (struct btrfs_trans_handle *trans, struct btrfs_pending_snapshot *pending) |
| int | btrfs_scrub_dev (struct btrfs_fs_info *fs_info, u64 devid, u64 start, u64 end, struct btrfs_scrub_progress *progress, int readonly, int is_dev_replace) |
| void | btrfs_scrub_pause (struct btrfs_fs_info *fs_info) |
| void | btrfs_scrub_continue (struct btrfs_fs_info *fs_info) |
| int | btrfs_scrub_cancel (struct btrfs_fs_info *info) |
| int | btrfs_scrub_cancel_dev (struct btrfs_fs_info *info, struct btrfs_device *dev) |
| int | btrfs_scrub_progress (struct btrfs_fs_info *fs_info, u64 devid, struct btrfs_scrub_progress *progress) |
| static void | btrfs_init_full_stripe_locks_tree (struct btrfs_full_stripe_locks_tree *locks_root) |
| void | btrfs_bio_counter_inc_blocked (struct btrfs_fs_info *fs_info) |
| void | btrfs_bio_counter_inc_noblocked (struct btrfs_fs_info *fs_info) |
| void | btrfs_bio_counter_sub (struct btrfs_fs_info *fs_info, s64 amount) |
| static void | btrfs_bio_counter_dec (struct btrfs_fs_info *fs_info) |
| struct reada_control * | btrfs_reada_add (struct btrfs_root *root, struct btrfs_key *start, struct btrfs_key *end) |
| int | btrfs_reada_wait (void *handle) |
| void | btrfs_reada_detach (void *handle) |
| int | btree_readahead_hook (struct extent_buffer *eb, int err) |
| static int | is_fstree (u64 rootid) |
| static int | btrfs_defrag_cancelled (struct btrfs_fs_info *fs_info) |
| static int | btrfs_is_testing (struct btrfs_fs_info *fs_info) |
| #define __le8 u8 |
| #define ASSERT | ( | expr | ) | ((void)0) |
| #define btrfs_abort_transaction | ( | trans, | |
| errno | |||
| ) |
| #define btrfs_alert | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk(fs_info, KERN_ALERT fmt, ##args) |
| #define btrfs_alert_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_in_rcu(fs_info, KERN_ALERT fmt, ##args) |
| #define btrfs_alert_rl | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_ratelimited(fs_info, KERN_ALERT fmt, ##args) |
| #define btrfs_alert_rl_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_rl_in_rcu(fs_info, KERN_ALERT fmt, ##args) |
| #define BTRFS_BACKREF_REV_MASK |
| #define BTRFS_BACKREF_REV_MAX 256 |
| #define BTRFS_BACKREF_REV_SHIFT 56 |
| #define BTRFS_BLOCK_RSV_CHUNK 4 |
| #define BTRFS_BLOCK_RSV_DELALLOC 2 |
| #define BTRFS_BLOCK_RSV_DELOPS 5 |
| #define BTRFS_BLOCK_RSV_EMPTY 6 |
| #define BTRFS_BLOCK_RSV_GLOBAL 1 |
| #define BTRFS_BLOCK_RSV_TEMP 7 |
| #define BTRFS_BLOCK_RSV_TRANS 3 |
| #define btrfs_clear_fs_compat_ro | ( | __fs_info, | |
| opt | |||
| ) | __btrfs_clear_fs_compat_ro((__fs_info), BTRFS_FEATURE_COMPAT_RO_##opt) |
| #define btrfs_clear_fs_incompat | ( | __fs_info, | |
| opt | |||
| ) | __btrfs_clear_fs_incompat((__fs_info), BTRFS_FEATURE_INCOMPAT_##opt) |
| #define btrfs_clear_opt | ( | o, | |
| opt | |||
| ) | ((o) &= ~BTRFS_MOUNT_##opt) |
| #define btrfs_clear_pending | ( | info, | |
| opt | |||
| ) | clear_bit(BTRFS_PENDING_##opt, &(info)->pending_changes) |
| #define btrfs_clear_pending_and_info | ( | info, | |
| opt, | |||
| fmt, | |||
| args... | |||
| ) |
| #define BTRFS_COMPAT_EXTENT_TREE_V0 |
| #define btrfs_crit | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk(fs_info, KERN_CRIT fmt, ##args) |
| #define btrfs_crit_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_in_rcu(fs_info, KERN_CRIT fmt, ##args) |
| #define btrfs_crit_rl | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_ratelimited(fs_info, KERN_CRIT fmt, ##args) |
| #define btrfs_crit_rl_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_rl_in_rcu(fs_info, KERN_CRIT fmt, ##args) |
| #define btrfs_debug_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_no_printk(fs_info, KERN_DEBUG fmt, ##args) |
| #define btrfs_debug_rl_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_no_printk(fs_info, KERN_DEBUG fmt, ##args) |
| #define BTRFS_DEFAULT_COMMIT_INTERVAL (30) |
| #define BTRFS_DEFAULT_MAX_INLINE (2048) |
| #define BTRFS_DIRTY_METADATA_THRESH SZ_32M |
| #define btrfs_emerg | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk(fs_info, KERN_EMERG fmt, ##args) |
| #define btrfs_emerg_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_in_rcu(fs_info, KERN_EMERG fmt, ##args) |
| #define btrfs_emerg_rl | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_ratelimited(fs_info, KERN_EMERG fmt, ##args) |
| #define btrfs_emerg_rl_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_rl_in_rcu(fs_info, KERN_EMERG fmt, ##args) |
| #define BTRFS_EMPTY_DIR_SIZE 0 |
| #define btrfs_err | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk(fs_info, KERN_ERR fmt, ##args) |
| #define btrfs_err_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_in_rcu(fs_info, KERN_ERR fmt, ##args) |
| #define btrfs_err_rl | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_ratelimited(fs_info, KERN_ERR fmt, ##args) |
| #define btrfs_err_rl_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_rl_in_rcu(fs_info, KERN_ERR fmt, ##args) |
| #define BTRFS_FEATURE_COMPAT_RO_SAFE_CLEAR 0ULL |
| #define BTRFS_FEATURE_COMPAT_RO_SAFE_SET 0ULL |
| #define BTRFS_FEATURE_COMPAT_RO_SUPP |
| #define BTRFS_FEATURE_COMPAT_SAFE_CLEAR 0ULL |
| #define BTRFS_FEATURE_COMPAT_SAFE_SET 0ULL |
| #define BTRFS_FEATURE_COMPAT_SUPP 0ULL |
| #define BTRFS_FEATURE_INCOMPAT_SAFE_CLEAR 0ULL |
| #define BTRFS_FEATURE_INCOMPAT_SAFE_SET (BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF) |
| #define BTRFS_FEATURE_INCOMPAT_SUPP |
| #define BTRFS_FILE_EXTENT_INLINE_DATA_START (offsetof(struct btrfs_file_extent_item, disk_bytenr)) |
| #define BTRFS_FS_BARRIER 1 |
| #define BTRFS_FS_BTREE_ERR 11 |
| #define BTRFS_FS_CLOSING_DONE 3 |
| #define BTRFS_FS_CLOSING_START 2 |
| #define btrfs_fs_compat_ro | ( | fs_info, | |
| opt | |||
| ) | __btrfs_fs_compat_ro((fs_info), BTRFS_FEATURE_COMPAT_RO_##opt) |
| #define BTRFS_FS_CREATING_FREE_SPACE_TREE 10 |
| #define BTRFS_FS_EXCL_OP 16 |
| #define BTRFS_FS_FROZEN 15 |
| #define btrfs_fs_incompat | ( | fs_info, | |
| opt | |||
| ) | __btrfs_fs_incompat((fs_info), BTRFS_FEATURE_INCOMPAT_##opt) |
| #define BTRFS_FS_LOG1_ERR 12 |
| #define BTRFS_FS_LOG2_ERR 13 |
| #define BTRFS_FS_LOG_RECOVERING 4 |
| #define BTRFS_FS_NEED_ASYNC_COMMIT 17 |
| #define BTRFS_FS_OPEN 5 |
| #define BTRFS_FS_QUOTA_ENABLED 6 |
| #define BTRFS_FS_QUOTA_OVERRIDE 14 |
| #define BTRFS_FS_STATE_DEV_REPLACING 3 |
| #define BTRFS_FS_STATE_DUMMY_FS_INFO 4 |
| #define BTRFS_FS_STATE_ERROR 0 |
| #define BTRFS_FS_STATE_REMOUNTING 1 |
| #define BTRFS_FS_STATE_TRANS_ABORTED 2 |
| #define BTRFS_FS_UPDATE_UUID_TREE_GEN 9 |
| #define btrfs_get_acl NULL |
| #define btrfs_info | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk(fs_info, KERN_INFO fmt, ##args) |
| #define btrfs_info_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_in_rcu(fs_info, KERN_INFO fmt, ##args) |
| #define btrfs_info_rl | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_ratelimited(fs_info, KERN_INFO fmt, ##args) |
| #define btrfs_info_rl_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_rl_in_rcu(fs_info, KERN_INFO fmt, ##args) |
| #define BTRFS_INODE_APPEND (1 << 7) |
| #define BTRFS_INODE_COMPRESS (1 << 11) |
| #define BTRFS_INODE_DIRSYNC (1 << 10) |
| #define BTRFS_INODE_IMMUTABLE (1 << 6) |
| #define BTRFS_INODE_NOATIME (1 << 9) |
| #define BTRFS_INODE_NOCOMPRESS (1 << 3) |
| #define BTRFS_INODE_NODATACOW (1 << 1) |
| #define BTRFS_INODE_NODATASUM (1 << 0) |
| #define BTRFS_INODE_NODUMP (1 << 8) |
| #define BTRFS_INODE_PREALLOC (1 << 4) |
| #define BTRFS_INODE_READONLY (1 << 2) |
| #define BTRFS_INODE_ROOT_ITEM_INIT (1 << 31) |
| #define BTRFS_INODE_SYNC (1 << 5) |
| #define BTRFS_IOPRIO_READA (IOPRIO_PRIO_VALUE(IOPRIO_CLASS_IDLE, 0)) |
| #define btrfs_item_ptr | ( | leaf, | |
| slot, | |||
| type | |||
| ) |
| #define btrfs_item_ptr_offset | ( | leaf, | |
| slot | |||
| ) |
| #define BTRFS_LEAF_DATA_OFFSET offsetof(struct btrfs_leaf, items) |
| #define BTRFS_LINK_MAX 65535U |
| #define BTRFS_MAGIC 0x4D5F53665248425FULL /* ascii _BHRfS_M, no null */ |
| #define BTRFS_MAX_EXTENT_ITEM_SIZE | ( | r | ) |
| #define BTRFS_MAX_EXTENT_SIZE SZ_128M |
| #define BTRFS_MAX_LEVEL 8 |
| #define BTRFS_MAX_METADATA_BLOCKSIZE 65536 |
| #define BTRFS_MAX_MIRRORS 3 |
| #define BTRFS_MIXED_BACKREF_REV 1 |
| #define BTRFS_MOUNT_AUTO_DEFRAG (1 << 16) |
| #define BTRFS_MOUNT_CHECK_INTEGRITY (1 << 20) |
| #define BTRFS_MOUNT_CHECK_INTEGRITY_INCLUDING_EXTENT_DATA (1 << 21) |
| #define BTRFS_MOUNT_CLEAR_CACHE (1 << 13) |
| #define BTRFS_MOUNT_COMPRESS (1 << 5) |
| #define BTRFS_MOUNT_DEGRADED (1 << 4) |
| #define BTRFS_MOUNT_DISCARD (1 << 10) |
| #define BTRFS_MOUNT_ENOSPC_DEBUG (1 << 15) |
| #define BTRFS_MOUNT_FLUSHONCOMMIT (1 << 7) |
| #define BTRFS_MOUNT_FORCE_COMPRESS (1 << 11) |
| #define BTRFS_MOUNT_FRAGMENT_DATA (1 << 24) |
| #define BTRFS_MOUNT_FRAGMENT_METADATA (1 << 25) |
| #define BTRFS_MOUNT_FREE_SPACE_TREE (1 << 26) |
| #define BTRFS_MOUNT_INODE_MAP_CACHE (1 << 17) |
| #define BTRFS_MOUNT_NOBARRIER (1 << 2) |
| #define BTRFS_MOUNT_NODATACOW (1 << 1) |
| #define BTRFS_MOUNT_NODATASUM (1 << 0) |
| #define BTRFS_MOUNT_NOLOGREPLAY (1 << 27) |
| #define BTRFS_MOUNT_NOSSD (1 << 9) |
| #define BTRFS_MOUNT_NOTREELOG (1 << 6) |
| #define BTRFS_MOUNT_PANIC_ON_FATAL_ERROR (1 << 22) |
| #define BTRFS_MOUNT_REF_VERIFY (1 << 28) |
| #define BTRFS_MOUNT_RESCAN_UUID_TREE (1 << 23) |
| #define BTRFS_MOUNT_SKIP_BALANCE (1 << 19) |
| #define BTRFS_MOUNT_SPACE_CACHE (1 << 12) |
| #define BTRFS_MOUNT_SSD (1 << 3) |
| #define BTRFS_MOUNT_SSD_SPREAD (1 << 8) |
| #define BTRFS_MOUNT_USEBACKUPROOT (1 << 18) |
| #define BTRFS_MOUNT_USER_SUBVOL_RM_ALLOWED (1 << 14) |
| #define BTRFS_NAME_LEN 255 |
| #define btrfs_notice | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk(fs_info, KERN_NOTICE fmt, ##args) |
| #define btrfs_notice_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_in_rcu(fs_info, KERN_NOTICE fmt, ##args) |
| #define btrfs_notice_rl | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_ratelimited(fs_info, KERN_NOTICE fmt, ##args) |
| #define btrfs_notice_rl_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_rl_in_rcu(fs_info, KERN_NOTICE fmt, ##args) |
| #define BTRFS_NUM_BACKUP_ROOTS 4 |
| #define BTRFS_OLD_BACKREF_REV 0 |
| #define BTRFS_OLDEST_GENERATION 0ULL |
| #define BTRFS_PENDING_CLEAR_INODE_MAP_CACHE (1) |
| #define BTRFS_PENDING_COMMIT (2) |
| #define BTRFS_PENDING_SET_INODE_MAP_CACHE (0) |
| #define btrfs_raw_test_opt | ( | o, | |
| opt | |||
| ) | ((o) & BTRFS_MOUNT_##opt) |
| #define BTRFS_ROOT_DEFRAG_RUNNING 5 |
| #define BTRFS_ROOT_DIRTY 8 |
| #define BTRFS_ROOT_FORCE_COW 6 |
| #define BTRFS_ROOT_IN_RADIX 3 |
| #define BTRFS_ROOT_IN_TRANS_SETUP 0 |
| #define BTRFS_ROOT_MULTI_LOG_TASKS 7 |
| #define BTRFS_ROOT_ORPHAN_ITEM_INSERTED 4 |
| #define BTRFS_ROOT_REF_COWS 1 |
| #define BTRFS_ROOT_TRACK_DIRTY 2 |
| #define btrfs_set_acl NULL |
| #define btrfs_set_fs_compat_ro | ( | __fs_info, | |
| opt | |||
| ) | __btrfs_set_fs_compat_ro((__fs_info), BTRFS_FEATURE_COMPAT_RO_##opt) |
| #define btrfs_set_fs_incompat | ( | __fs_info, | |
| opt | |||
| ) | __btrfs_set_fs_incompat((__fs_info), BTRFS_FEATURE_INCOMPAT_##opt) |
| #define btrfs_set_opt | ( | o, | |
| opt | |||
| ) | ((o) |= BTRFS_MOUNT_##opt) |
| #define btrfs_set_pending | ( | info, | |
| opt | |||
| ) | set_bit(BTRFS_PENDING_##opt, &(info)->pending_changes) |
| #define btrfs_set_pending_and_info | ( | info, | |
| opt, | |||
| fmt, | |||
| args... | |||
| ) |
| #define BTRFS_STRIPE_HASH_TABLE_BITS 11 |
| #define BTRFS_SYSTEM_CHUNK_ARRAY_SIZE 2048 |
| #define btrfs_test_opt | ( | fs_info, | |
| opt | |||
| ) |
| #define btrfs_test_pending | ( | info, | |
| opt | |||
| ) | test_bit(BTRFS_PENDING_##opt, &(info)->pending_changes) |
| #define btrfs_warn | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk(fs_info, KERN_WARNING fmt, ##args) |
| #define btrfs_warn_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_in_rcu(fs_info, KERN_WARNING fmt, ##args) |
| #define btrfs_warn_rl | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_ratelimited(fs_info, KERN_WARNING fmt, ##args) |
| #define btrfs_warn_rl_in_rcu | ( | fs_info, | |
| fmt, | |||
| args... | |||
| ) | btrfs_printk_rl_in_rcu(fs_info, KERN_WARNING fmt, ##args) |
| #define CACHING_CTL_WAKE_UP SZ_2M |
| #define DECLARE_BTRFS_SETGET_BITS | ( | bits | ) |
| #define read_eb_member | ( | eb, | |
| ptr, | |||
| type, | |||
| member, | |||
| result | |||
| ) |
| #define SEQ_LAST ((u64)-1) |
| #define STATIC static noinline |
| #define write_eb_member | ( | eb, | |
| ptr, | |||
| type, | |||
| member, | |||
| result | |||
| ) |
| typedef int(* btrfs_changed_cb_t) (struct btrfs_path *left_path, struct btrfs_path *right_path, struct btrfs_key *key, enum btrfs_compare_tree_result result, void *ctx) |
| enum btrfs_caching_type |
| enum btrfs_flush_state |
| struct btrfs_header __attribute__ | ( | (__packed__) | ) |
| __cold void __btrfs_abort_transaction | ( | struct btrfs_trans_handle * | trans, |
| const char * | function, | ||
| unsigned int | line, | ||
| int | errno | ||
| ) |

|
inlinestatic |
|
inlinestatic |
| void __btrfs_del_delalloc_inode | ( | struct btrfs_root * | root, |
| struct btrfs_inode * | inode | ||
| ) |


| int __btrfs_drop_extents | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct inode * | inode, | ||
| struct btrfs_path * | path, | ||
| u64 | start, | ||
| u64 | end, | ||
| u64 * | drop_end, | ||
| int | drop_cache, | ||
| int | replace_extent, | ||
| u32 | extent_item_size, | ||
| int * | key_inserted | ||
| ) |


| void __btrfs_free_block_rsv | ( | struct btrfs_block_rsv * | rsv | ) |

|
inlinestatic |

|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| __printf | ( | 5 | , |
| 6 | |||
| ) |
| u64 add_new_free_space | ( | struct btrfs_block_group_cache * | block_group, |
| struct btrfs_fs_info * | info, | ||
| u64 | start, | ||
| u64 | end | ||
| ) |


| int btree_readahead_hook | ( | struct extent_buffer * | eb, |
| int | err | ||
| ) |


| u64 btrfs_account_ro_block_groups_free_space | ( | struct btrfs_space_info * | sinfo | ) |

| void btrfs_add_delayed_iput | ( | struct inode * | inode | ) |


| int btrfs_add_inode_defrag | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_inode * | inode | ||
| ) |


| int btrfs_add_link | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_inode * | parent_inode, | ||
| struct btrfs_inode * | inode, | ||
| const char * | name, | ||
| int | name_len, | ||
| int | add_backref, | ||
| u64 | index | ||
| ) |


| void btrfs_add_raid_kobjects | ( | struct btrfs_fs_info * | fs_info | ) |


| int btrfs_add_root_ref | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u64 | root_id, | ||
| u64 | ref_id, | ||
| u64 | dirid, | ||
| u64 | sequence, | ||
| const char * | name, | ||
| int | name_len | ||
| ) |


| struct btrfs_block_rsv* btrfs_alloc_block_rsv | ( | struct btrfs_fs_info * | fs_info, |
| unsigned short | type | ||
| ) |


| int btrfs_alloc_data_chunk_ondemand | ( | struct btrfs_inode * | inode, |
| u64 | bytes | ||
| ) |


| struct btrfs_delalloc_work* btrfs_alloc_delalloc_work | ( | struct inode * | inode, |
| int | delay_iput | ||
| ) |


| struct inode* btrfs_alloc_inode | ( | struct super_block * | sb | ) |


| int btrfs_alloc_logged_file_extent | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u64 | root_objectid, | ||
| u64 | owner, | ||
| u64 | offset, | ||
| struct btrfs_key * | ins | ||
| ) |


| struct btrfs_path* btrfs_alloc_path | ( | void | ) |
| int btrfs_alloc_reserved_file_extent | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| u64 | owner, | ||
| u64 | offset, | ||
| u64 | ram_bytes, | ||
| struct btrfs_key * | ins | ||
| ) |


| struct extent_buffer* btrfs_alloc_tree_block | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| u64 | parent, | ||
| u64 | root_objectid, | ||
| const struct btrfs_disk_key * | key, | ||
| int | level, | ||
| u64 | hint, | ||
| u64 | empty_size | ||
| ) |


|
inlinestatic |

| int btrfs_async_run_delayed_refs | ( | struct btrfs_fs_info * | fs_info, |
| unsigned long | count, | ||
| u64 | transid, | ||
| int | wait | ||
| ) |


| void __cold btrfs_auto_defrag_exit | ( | void | ) |

| int __init btrfs_auto_defrag_init | ( | void | ) |

|
inlinestatic |

|
inlinestatic |

|
inlinestatic |

| int btrfs_bin_search | ( | struct extent_buffer * | eb, |
| const struct btrfs_key * | key, | ||
| int | level, | ||
| int * | slot | ||
| ) |


|
inlinestatic |


| void btrfs_bio_counter_inc_blocked | ( | struct btrfs_fs_info * | fs_info | ) |


| void btrfs_bio_counter_inc_noblocked | ( | struct btrfs_fs_info * | fs_info | ) |

| void btrfs_bio_counter_sub | ( | struct btrfs_fs_info * | fs_info, |
| s64 | amount | ||
| ) |

| int btrfs_block_can_be_shared | ( | struct btrfs_root * | root, |
| struct extent_buffer * | buf | ||
| ) |


| int btrfs_block_rsv_add | ( | struct btrfs_root * | root, |
| struct btrfs_block_rsv * | block_rsv, | ||
| u64 | num_bytes, | ||
| enum btrfs_reserve_flush_enum | flush | ||
| ) |


| int btrfs_block_rsv_check | ( | struct btrfs_block_rsv * | block_rsv, |
| int | min_factor | ||
| ) |


| int btrfs_block_rsv_migrate | ( | struct btrfs_block_rsv * | src_rsv, |
| struct btrfs_block_rsv * | dst_rsv, | ||
| u64 | num_bytes, | ||
| int | update_size | ||
| ) |


| int btrfs_block_rsv_refill | ( | struct btrfs_root * | root, |
| struct btrfs_block_rsv * | block_rsv, | ||
| u64 | min_reserved, | ||
| enum btrfs_reserve_flush_enum | flush | ||
| ) |


| void btrfs_block_rsv_release | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_block_rsv * | block_rsv, | ||
| u64 | num_bytes | ||
| ) |


|
inlinestatic |

|
inlinestatic |

| int btrfs_can_relocate | ( | struct btrfs_fs_info * | fs_info, |
| u64 | bytenr | ||
| ) |


| void btrfs_check_and_init_root_item | ( | struct btrfs_root_item * | item | ) |

| int btrfs_check_data_free_space | ( | struct inode * | inode, |
| struct extent_changeset ** | reserved, | ||
| u64 | start, | ||
| u64 | len | ||
| ) |


| int btrfs_check_dir_item_collision | ( | struct btrfs_root * | root, |
| u64 | dir, | ||
| const char * | name, | ||
| int | name_len | ||
| ) |


| int btrfs_check_space_for_delayed_refs | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info | ||
| ) |


|
inlinestatic |

| void btrfs_cleanup_defrag_inodes | ( | struct btrfs_fs_info * | fs_info | ) |

|
inlinestatic |

| void btrfs_clear_path_blocking | ( | struct btrfs_path * | p, |
| struct extent_buffer * | held, | ||
| int | held_rw | ||
| ) |


| void btrfs_clear_space_info_full | ( | struct btrfs_fs_info * | info | ) |

| int btrfs_clone_file_range | ( | struct file * | file_in, |
| loff_t | pos_in, | ||
| struct file * | file_out, | ||
| loff_t | pos_out, | ||
| u64 | len | ||
| ) |

| int btrfs_comp_cpu_keys | ( | const struct btrfs_key * | k1, |
| const struct btrfs_key * | k2 | ||
| ) |

| int btrfs_compare_trees | ( | struct btrfs_root * | left_root, |
| struct btrfs_root * | right_root, | ||
| btrfs_changed_cb_t | cb, | ||
| void * | ctx | ||
| ) |


| long btrfs_compat_ioctl | ( | struct file * | file, |
| unsigned int | cmd, | ||
| unsigned long | arg | ||
| ) |

| int btrfs_cond_migrate_bytes | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_block_rsv * | dest, | ||
| u64 | num_bytes, | ||
| int | min_factor | ||
| ) |


| int btrfs_cont_expand | ( | struct inode * | inode, |
| loff_t | oldsize, | ||
| loff_t | size | ||
| ) |


| int btrfs_copy_root | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct extent_buffer * | buf, | ||
| struct extent_buffer ** | cow_ret, | ||
| u64 | new_root_objectid | ||
| ) |


| int btrfs_cow_block | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct extent_buffer * | buf, | ||
| struct extent_buffer * | parent, | ||
| int | parent_slot, | ||
| struct extent_buffer ** | cow_ret | ||
| ) |


|
inlinestatic |

|
inlinestatic |

| void btrfs_create_pending_block_groups | ( | struct btrfs_trans_handle * | trans | ) |


| int btrfs_create_subvol_root | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | new_root, | ||
| struct btrfs_root * | parent_root, | ||
| u64 | new_dirid | ||
| ) |


| int btrfs_cross_ref_exist | ( | struct btrfs_root * | root, |
| u64 | objectid, | ||
| u64 | offset, | ||
| u64 | bytenr | ||
| ) |


| u64 btrfs_csum_bytes_to_leaves | ( | struct btrfs_fs_info * | fs_info, |
| u64 | csum_bytes | ||
| ) |


| int btrfs_csum_file_blocks | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_ordered_sum * | sums | ||
| ) |


| blk_status_t btrfs_csum_one_bio | ( | struct inode * | inode, |
| struct bio * | bio, | ||
| u64 | file_start, | ||
| int | contig | ||
| ) |


| u64 btrfs_data_alloc_profile | ( | struct btrfs_fs_info * | fs_info | ) |


| void btrfs_dec_block_group_reservations | ( | struct btrfs_fs_info * | fs_info, |
| const u64 | start | ||
| ) |


| void btrfs_dec_block_group_ro | ( | struct btrfs_block_group_cache * | cache | ) |

| void btrfs_dec_nocow_writers | ( | struct btrfs_fs_info * | fs_info, |
| u64 | bytenr | ||
| ) |


| int btrfs_dec_ref | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct extent_buffer * | buf, | ||
| int | full_backref | ||
| ) |


| static const char const char* btrfs_decode_error | ( | int | errno | ) |

| ssize_t btrfs_dedupe_file_range | ( | struct file * | src_file, |
| u64 | loff, | ||
| u64 | olen, | ||
| struct file * | dst_file, | ||
| u64 | dst_loff | ||
| ) |

|
inlinestatic |

| int btrfs_defrag_file | ( | struct inode * | inode, |
| struct file * | file, | ||
| struct btrfs_ioctl_defrag_range_args * | range, | ||
| u64 | newer_than, | ||
| unsigned long | max_pages | ||
| ) |


| int btrfs_defrag_leaves | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root | ||
| ) |


| int btrfs_del_csums | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u64 | bytenr, | ||
| u64 | len | ||
| ) |


| int btrfs_del_inode_ref | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| const char * | name, | ||
| int | name_len, | ||
| u64 | inode_objectid, | ||
| u64 | ref_objectid, | ||
| u64 * | index | ||
| ) |


|
inlinestatic |


| int btrfs_del_items | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| int | slot, | ||
| int | nr | ||
| ) |


| int btrfs_del_orphan_item | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| u64 | offset | ||
| ) |


| int btrfs_del_root | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| const struct btrfs_key * | key | ||
| ) |


| int btrfs_del_root_ref | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u64 | root_id, | ||
| u64 | ref_id, | ||
| u64 | dirid, | ||
| u64 * | sequence, | ||
| const char * | name, | ||
| int | name_len | ||
| ) |


| void btrfs_delalloc_release_extents | ( | struct btrfs_inode * | inode, |
| u64 | num_bytes, | ||
| bool | qgroup_free | ||
| ) |
btrfs_delalloc_release_extents - release our outstanding_extents : the inode to balance the reservation for. : the number of bytes we originally reserved with : do we need to free qgroup meta reservation or convert them.
When we reserve space we increase outstanding_extents for the extents we may add. Once we've set the range as delalloc or created our ordered extents we have outstanding_extents to track the real usage, so we use this to free our temporarily tracked outstanding_extents. This must be used in conjunction with btrfs_delalloc_reserve_metadata.


| void btrfs_delalloc_release_metadata | ( | struct btrfs_inode * | inode, |
| u64 | num_bytes, | ||
| bool | qgroup_free | ||
| ) |
btrfs_delalloc_release_metadata - release a metadata reservation for an inode : the inode to release the reservation for. : the number of bytes we are releasing. : free qgroup reservation or convert it to per-trans reservation
This will release the metadata reservation for an inode. This can be called once we complete IO for a given set of bytes to release their metadata reservations, or on error for the same reason.


| void btrfs_delalloc_release_space | ( | struct inode * | inode, |
| struct extent_changeset * | reserved, | ||
| u64 | start, | ||
| u64 | len, | ||
| bool | qgroup_free | ||
| ) |
btrfs_delalloc_release_space - release data and metadata space for delalloc : inode we're releasing space for : start position of the space already reserved : the len of the space already reserved : the len of the space we consumed or didn't use
This function will release the metadata space that was not used and will decrement ->delalloc_bytes and remove it from the fs_info delalloc_inodes list if there are no delalloc bytes left. Also it will handle the qgroup reserved space.


| int btrfs_delalloc_reserve_metadata | ( | struct btrfs_inode * | inode, |
| u64 | num_bytes | ||
| ) |


| int btrfs_delalloc_reserve_space | ( | struct inode * | inode, |
| struct extent_changeset ** | reserved, | ||
| u64 | start, | ||
| u64 | len | ||
| ) |
btrfs_delalloc_reserve_space - reserve data and metadata space for delalloc : inode we're writing to : start range we are writing to : how long the range we are writing to : mandatory parameter, record actually reserved qgroup ranges of current reservation.
This will do the following things
o reserve space in data space info for num bytes and reserve precious corresponding qgroup space (Done in check_data_free_space)
o reserve space for metadata space, based on the number of outstanding extents and how much csums will be needed also reserve metadata space in a per root over-reserve method. o add to the inodes->delalloc_bytes o add it to the fs_info's delalloc inodes list. (Above 3 all done in delalloc_reserve_metadata)
Return 0 for success Return <0 for error(-ENOSPC or -EQUOT)


| int btrfs_delayed_refs_qgroup_accounting | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info | ||
| ) |
| int btrfs_delete_one_dir_name | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| struct btrfs_dir_item * | di | ||
| ) |


| void btrfs_delete_unused_bgs | ( | struct btrfs_fs_info * | fs_info | ) |


| void __cold btrfs_destroy_cachep | ( | void | ) |

| void btrfs_destroy_inode | ( | struct inode * | inode | ) |


|
inlinestatic |
|
inlinestatic |


|
inlinestatic |

|
inlinestatic |

|
inlinestatic |

|
inlinestatic |

|
inlinestatic |


| int btrfs_dirty_pages | ( | struct inode * | inode, |
| struct page ** | pages, | ||
| size_t | num_pages, | ||
| loff_t | pos, | ||
| size_t | write_bytes, | ||
| struct extent_state ** | cached | ||
| ) |


| int btrfs_discard_extent | ( | struct btrfs_fs_info * | fs_info, |
| u64 | bytenr, | ||
| u64 | num_bytes, | ||
| u64 * | actual_bytes | ||
| ) |


|
inlinestatic |

|
inlinestatic |

| void btrfs_drop_extent_cache | ( | struct btrfs_inode * | inode, |
| u64 | start, | ||
| u64 | end, | ||
| int | skip_pinned | ||
| ) |


| int btrfs_drop_extents | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct inode * | inode, | ||
| u64 | start, | ||
| u64 | end, | ||
| int | drop_cache | ||
| ) |


| int btrfs_drop_inode | ( | struct inode * | inode | ) |


| int __must_check btrfs_drop_snapshot | ( | struct btrfs_root * | root, |
| struct btrfs_block_rsv * | block_rsv, | ||
| int | update_ref, | ||
| int | for_reloc | ||
| ) |


| int btrfs_drop_subtree | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct extent_buffer * | node, | ||
| struct extent_buffer * | parent | ||
| ) |


| int btrfs_duplicate_item | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| const struct btrfs_key * | new_key | ||
| ) |


| void btrfs_end_write_no_snapshotting | ( | struct btrfs_root * | root | ) |

| int btrfs_error_unpin_extent_range | ( | struct btrfs_fs_info * | fs_info, |
| u64 | start, | ||
| u64 | end | ||
| ) |


| void btrfs_evict_inode | ( | struct inode * | inode | ) |


| int btrfs_exclude_logged_extents | ( | struct btrfs_fs_info * | fs_info, |
| struct extent_buffer * | eb | ||
| ) |


| void __cold btrfs_exit_sysfs | ( | void | ) |


| void btrfs_extend_item | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_path * | path, | ||
| u32 | data_size | ||
| ) |


|
inlinestatic |


| void btrfs_extent_item_to_extent_map | ( | struct btrfs_inode * | inode, |
| const struct btrfs_path * | path, | ||
| struct btrfs_file_extent_item * | fi, | ||
| const bool | new_inline, | ||
| struct extent_map * | em | ||
| ) |


| int btrfs_extent_readonly | ( | struct btrfs_fs_info * | fs_info, |
| u64 | bytenr | ||
| ) |


|
inlinestatic |

| int btrfs_fdatawrite_range | ( | struct inode * | inode, |
| loff_t | start, | ||
| loff_t | end | ||
| ) |


|
inlinestatic |

|
inlinestatic |

|
inlinestatic |


|
inlinestatic |

| int btrfs_find_item | ( | struct btrfs_root * | fs_root, |
| struct btrfs_path * | path, | ||
| u64 | inum, | ||
| u64 | ioff, | ||
| u8 | key_type, | ||
| struct btrfs_key * | found_key | ||
| ) |


| int btrfs_find_name_in_backref | ( | struct extent_buffer * | leaf, |
| int | slot, | ||
| const char * | name, | ||
| int | name_len, | ||
| struct btrfs_inode_ref ** | ref_ret | ||
| ) |


| int btrfs_find_name_in_ext_backref | ( | struct extent_buffer * | leaf, |
| int | slot, | ||
| u64 | ref_objectid, | ||
| const char * | name, | ||
| int | name_len, | ||
| struct btrfs_inode_extref ** | extref_ret | ||
| ) |


| int btrfs_find_next_key | ( | struct btrfs_root * | root, |
| struct btrfs_path * | path, | ||
| struct btrfs_key * | key, | ||
| int | lowest_level, | ||
| u64 | min_trans | ||
| ) |


| int btrfs_find_orphan_item | ( | struct btrfs_root * | root, |
| u64 | offset | ||
| ) |

| int btrfs_find_orphan_roots | ( | struct btrfs_fs_info * | fs_info | ) |


| int btrfs_find_root | ( | struct btrfs_root * | root, |
| const struct btrfs_key * | search_key, | ||
| struct btrfs_path * | path, | ||
| struct btrfs_root_item * | root_item, | ||
| struct btrfs_key * | root_key | ||
| ) |


| int btrfs_finish_extent_commit | ( | struct btrfs_trans_handle * | trans | ) |


| int btrfs_force_chunk_alloc | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u64 | type | ||
| ) |


| int btrfs_free_and_pin_reserved_extent | ( | struct btrfs_fs_info * | fs_info, |
| u64 | start, | ||
| u64 | len | ||
| ) |


| int btrfs_free_block_groups | ( | struct btrfs_fs_info * | info | ) |


| void btrfs_free_block_rsv | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_block_rsv * | rsv | ||
| ) |


| int btrfs_free_extent | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| u64 | bytenr, | ||
| u64 | num_bytes, | ||
| u64 | parent, | ||
| u64 | root_objectid, | ||
| u64 | owner, | ||
| u64 | offset | ||
| ) |


| void btrfs_free_path | ( | struct btrfs_path * | p | ) |

| void btrfs_free_reserved_data_space | ( | struct inode * | inode, |
| struct extent_changeset * | reserved, | ||
| u64 | start, | ||
| u64 | len | ||
| ) |


| void btrfs_free_reserved_data_space_noquota | ( | struct inode * | inode, |
| u64 | start, | ||
| u64 | len | ||
| ) |


| int btrfs_free_reserved_extent | ( | struct btrfs_fs_info * | fs_info, |
| u64 | start, | ||
| u64 | len, | ||
| int | delalloc | ||
| ) |


|
inlinestatic |

| void btrfs_free_tree_block | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct extent_buffer * | buf, | ||
| u64 | parent, | ||
| int | last_ref | ||
| ) |


|
inlinestatic |

| void btrfs_get_block_group | ( | struct btrfs_block_group_cache * | cache | ) |

| void btrfs_get_block_group_info | ( | struct list_head * | groups_list, |
| struct btrfs_ioctl_space_info * | space | ||
| ) |

| void btrfs_get_block_group_trimming | ( | struct btrfs_block_group_cache * | cache | ) |

| struct extent_map* btrfs_get_extent | ( | struct btrfs_inode * | inode, |
| struct page * | page, | ||
| size_t | pg_offset, | ||
| u64 | start, | ||
| u64 | end, | ||
| int | create | ||
| ) |


| struct extent_map* btrfs_get_extent_fiemap | ( | struct btrfs_inode * | inode, |
| struct page * | page, | ||
| size_t | pg_offset, | ||
| u64 | start, | ||
| u64 | len, | ||
| int | create | ||
| ) |


| int btrfs_get_extent_inline_ref_type | ( | const struct extent_buffer * | eb, |
| struct btrfs_extent_inline_ref * | iref, | ||
| enum btrfs_inline_ref_type | is_data | ||
| ) |


| u64 btrfs_get_tree_mod_seq | ( | struct btrfs_fs_info * | fs_info, |
| struct seq_list * | elem | ||
| ) |


|
inlinestatic |

|
inlinestatic |

|
inlinestatic |

|
inlinestatic |

| struct inode* btrfs_iget | ( | struct super_block * | s, |
| struct btrfs_key * | location, | ||
| struct btrfs_root * | root, | ||
| int * | was_new | ||
| ) |


| int btrfs_inc_block_group_ro | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_block_group_cache * | cache | ||
| ) |


| int btrfs_inc_extent_ref | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| u64 | bytenr, | ||
| u64 | num_bytes, | ||
| u64 | parent, | ||
| u64 | root_objectid, | ||
| u64 | owner, | ||
| u64 | offset | ||
| ) |


| bool btrfs_inc_nocow_writers | ( | struct btrfs_fs_info * | fs_info, |
| u64 | bytenr | ||
| ) |


| int btrfs_inc_ref | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct extent_buffer * | buf, | ||
| int | full_backref | ||
| ) |


|
inlinestatic |


| void btrfs_init_async_reclaim_work | ( | struct work_struct * | work | ) |


| void btrfs_init_block_rsv | ( | struct btrfs_block_rsv * | rsv, |
| unsigned short | type | ||
| ) |

| int __init btrfs_init_cachep | ( | void | ) |


|
inlinestatic |


|
inlinestatic |

| void btrfs_init_metadata_block_rsv | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_block_rsv * | rsv, | ||
| unsigned short | type | ||
| ) |


| int btrfs_init_reloc_root | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root | ||
| ) |


| int btrfs_init_space_info | ( | struct btrfs_fs_info * | fs_info | ) |


| int __init btrfs_init_sysfs | ( | void | ) |


|
inlinestatic |


| int btrfs_insert_dir_item | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| const char * | name, | ||
| int | name_len, | ||
| struct btrfs_inode * | dir, | ||
| struct btrfs_key * | location, | ||
| u8 | type, | ||
| u64 | index | ||
| ) |


| int btrfs_insert_empty_inode | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| u64 | objectid | ||
| ) |


|
inlinestatic |


| int btrfs_insert_empty_items | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| const struct btrfs_key * | cpu_key, | ||
| u32 * | data_size, | ||
| int | nr | ||
| ) |


| int btrfs_insert_file_extent | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| u64 | objectid, | ||
| u64 | pos, | ||
| u64 | disk_offset, | ||
| u64 | disk_num_bytes, | ||
| u64 | num_bytes, | ||
| u64 | offset, | ||
| u64 | ram_bytes, | ||
| u8 | compression, | ||
| u8 | encryption, | ||
| u16 | other_encoding | ||
| ) |


| int btrfs_insert_inode_ref | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| const char * | name, | ||
| int | name_len, | ||
| u64 | inode_objectid, | ||
| u64 | ref_objectid, | ||
| u64 | index | ||
| ) |


| int btrfs_insert_item | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| const struct btrfs_key * | key, | ||
| void * | data, | ||
| u32 | data_size | ||
| ) |


| int btrfs_insert_orphan_item | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| u64 | offset | ||
| ) |


| int btrfs_insert_root | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| const struct btrfs_key * | key, | ||
| struct btrfs_root_item * | item | ||
| ) |


| int btrfs_insert_xattr_item | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| u64 | objectid, | ||
| const char * | name, | ||
| u16 | name_len, | ||
| const void * | data, | ||
| u16 | data_len | ||
| ) |


| void btrfs_invalidate_inodes | ( | struct btrfs_root * | root | ) |


| long btrfs_ioctl | ( | struct file * | file, |
| unsigned int | cmd, | ||
| unsigned long | arg | ||
| ) |

| int btrfs_ioctl_get_supported_features | ( | void __user * | arg | ) |

| int btrfs_is_empty_uuid | ( | u8 * | uuid | ) |

|
inlinestatic |

|
inlinestatic |

|
inlinestatic |

|
inlinestatic |


|
inlinestatic |


|
inlinestatic |

|
static |


|
inlinestatic |

|
inlinestatic |


|
inlinestatic |

|
inlinestatic |
|
inlinestatic |

| int btrfs_leaf_free_space | ( | struct btrfs_fs_info * | fs_info, |
| struct extent_buffer * | leaf | ||
| ) |


| struct extent_buffer* btrfs_lock_root_node | ( | struct btrfs_root * | root | ) |


| blk_status_t btrfs_lookup_bio_sums | ( | struct inode * | inode, |
| struct bio * | bio, | ||
| u32 * | dst | ||
| ) |


| blk_status_t btrfs_lookup_bio_sums_dio | ( | struct inode * | inode, |
| struct bio * | bio, | ||
| u64 | logical_offset | ||
| ) |


| struct btrfs_block_group_cache* btrfs_lookup_block_group | ( | struct btrfs_fs_info * | info, |
| u64 | bytenr | ||
| ) |


| int btrfs_lookup_csums_range | ( | struct btrfs_root * | root, |
| u64 | start, | ||
| u64 | end, | ||
| struct list_head * | list, | ||
| int | search_commit | ||
| ) |


| int btrfs_lookup_data_extent | ( | struct btrfs_fs_info * | fs_info, |
| u64 | start, | ||
| u64 | len | ||
| ) |




| struct btrfs_dir_item* btrfs_lookup_dir_index_item | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| u64 | dir, | ||
| u64 | objectid, | ||
| const char * | name, | ||
| int | name_len, | ||
| int | mod | ||
| ) |


| struct btrfs_dir_item* btrfs_lookup_dir_item | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| u64 | dir, | ||
| const char * | name, | ||
| int | name_len, | ||
| int | mod | ||
| ) |


| int btrfs_lookup_extent_info | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u64 | bytenr, | ||
| u64 | offset, | ||
| int | metadata, | ||
| u64 * | refs, | ||
| u64 * | flags | ||
| ) |


| int btrfs_lookup_file_extent | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| u64 | objectid, | ||
| u64 | bytenr, | ||
| int | mod | ||
| ) |


| int btrfs_lookup_inode | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| struct btrfs_key * | location, | ||
| int | mod | ||
| ) |


| struct btrfs_inode_extref* btrfs_lookup_inode_extref | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| const char * | name, | ||
| int | name_len, | ||
| u64 | inode_objectid, | ||
| u64 | ref_objectid, | ||
| int | ins_len, | ||
| int | cow | ||
| ) |


| struct btrfs_dir_item* btrfs_lookup_xattr | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| u64 | dir, | ||
| const char * | name, | ||
| u16 | name_len, | ||
| int | mod | ||
| ) |


| int btrfs_make_block_group | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u64 | bytes_used, | ||
| u64 | type, | ||
| u64 | chunk_offset, | ||
| u64 | size | ||
| ) |


| int btrfs_mark_extent_written | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_inode * | inode, | ||
| u64 | start, | ||
| u64 | end | ||
| ) |


| struct btrfs_dir_item* btrfs_match_dir_item_name | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_path * | path, | ||
| const char * | name, | ||
| int | name_len | ||
| ) |


|
inlinestatic |


|
inlinestatic |


|
inlinestatic |


| int btrfs_merge_bio_hook | ( | struct page * | page, |
| unsigned long | offset, | ||
| size_t | size, | ||
| struct bio * | bio, | ||
| unsigned long | bio_flags | ||
| ) |


| u64 btrfs_metadata_alloc_profile | ( | struct btrfs_fs_info * | fs_info | ) |


|
inlinestatic |

|
inlinestatic |

|
inlinestatic |


|
inlinestatic |


| int btrfs_next_leaf | ( | struct btrfs_root * | root, |
| struct btrfs_path * | path | ||
| ) |

|
inlinestatic |


| int btrfs_next_old_leaf | ( | struct btrfs_root * | root, |
| struct btrfs_path * | path, | ||
| u64 | time_seq | ||
| ) |


|
inlinestatic |

| void btrfs_node_key | ( | const struct extent_buffer * | eb, |
| struct btrfs_disk_key * | disk_key, | ||
| int | nr | ||
| ) |


|
inlinestatic |


|
inlinestatic |


|
inlinestatic |

|
inlinestatic |


| int btrfs_old_root_level | ( | struct btrfs_root * | root, |
| u64 | time_seq | ||
| ) |


| int btrfs_orphan_add | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_inode * | inode | ||
| ) |


| int btrfs_orphan_cleanup | ( | struct btrfs_root * | root | ) |


| void btrfs_orphan_commit_root | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root | ||
| ) |


| void btrfs_orphan_release_metadata | ( | struct btrfs_inode * | inode | ) |


| int btrfs_orphan_reserve_metadata | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_inode * | inode | ||
| ) |


| int btrfs_page_mkwrite | ( | struct vm_fault * | vmf | ) |

| int btrfs_parse_options | ( | struct btrfs_fs_info * | info, |
| char * | options, | ||
| unsigned long | new_flags | ||
| ) |


| int btrfs_pin_extent | ( | struct btrfs_fs_info * | fs_info, |
| u64 | bytenr, | ||
| u64 | num, | ||
| int | reserved | ||
| ) |


| int btrfs_pin_extent_for_log_replay | ( | struct btrfs_fs_info * | fs_info, |
| u64 | bytenr, | ||
| u64 | num_bytes | ||
| ) |


| int btrfs_prealloc_file_range | ( | struct inode * | inode, |
| int | mode, | ||
| u64 | start, | ||
| u64 | num_bytes, | ||
| u64 | min_size, | ||
| loff_t | actual_len, | ||
| u64 * | alloc_hint | ||
| ) |


| int btrfs_prealloc_file_range_trans | ( | struct inode * | inode, |
| struct btrfs_trans_handle * | trans, | ||
| int | mode, | ||
| u64 | start, | ||
| u64 | num_bytes, | ||
| u64 | min_size, | ||
| loff_t | actual_len, | ||
| u64 * | alloc_hint | ||
| ) |


| void btrfs_prepare_extent_commit | ( | struct btrfs_fs_info * | fs_info | ) |


| int btrfs_prev_leaf | ( | struct btrfs_root * | root, |
| struct btrfs_path * | path | ||
| ) |


| int btrfs_previous_extent_item | ( | struct btrfs_root * | root, |
| struct btrfs_path * | path, | ||
| u64 | min_objectid | ||
| ) |


| int btrfs_previous_item | ( | struct btrfs_root * | root, |
| struct btrfs_path * | path, | ||
| u64 | min_objectid, | ||
| int | type | ||
| ) |


| void btrfs_put_block_group | ( | struct btrfs_block_group_cache * | cache | ) |

| void btrfs_put_block_group_cache | ( | struct btrfs_fs_info * | info | ) |


| void btrfs_put_block_group_trimming | ( | struct btrfs_block_group_cache * | cache | ) |


| void btrfs_put_tree_mod_seq | ( | struct btrfs_fs_info * | fs_info, |
| struct seq_list * | elem | ||
| ) |

| int btrfs_read_block_groups | ( | struct btrfs_fs_info * | info | ) |


| struct extent_buffer* btrfs_read_lock_root_node | ( | struct btrfs_root * | root | ) |


| struct reada_control* btrfs_reada_add | ( | struct btrfs_root * | root, |
| struct btrfs_key * | start, | ||
| struct btrfs_key * | end | ||
| ) |


| void btrfs_reada_detach | ( | void * | handle | ) |

| int btrfs_reada_wait | ( | void * | handle | ) |


| int btrfs_readpage | ( | struct file * | file, |
| struct page * | page | ||
| ) |


| int btrfs_realloc_node | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct extent_buffer * | parent, | ||
| int | start_slot, | ||
| u64 * | last_ret, | ||
| struct btrfs_key * | progress | ||
| ) |


| int btrfs_recover_relocation | ( | struct btrfs_root * | root | ) |


| int btrfs_release_file | ( | struct inode * | inode, |
| struct file * | file | ||
| ) |


| void btrfs_release_path | ( | struct btrfs_path * | p | ) |

| int btrfs_reloc_clone_csums | ( | struct inode * | inode, |
| u64 | file_pos, | ||
| u64 | len | ||
| ) |


| int btrfs_reloc_cow_block | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct extent_buffer * | buf, | ||
| struct extent_buffer * | cow | ||
| ) |


| int btrfs_reloc_post_snapshot | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_pending_snapshot * | pending | ||
| ) |


| void btrfs_reloc_pre_snapshot | ( | struct btrfs_pending_snapshot * | pending, |
| u64 * | bytes_to_reserve | ||
| ) |

| int btrfs_relocate_block_group | ( | struct btrfs_fs_info * | fs_info, |
| u64 | group_start | ||
| ) |


| int btrfs_remove_block_group | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u64 | group_start, | ||
| struct extent_map * | em | ||
| ) |


| int btrfs_reserve_extent | ( | struct btrfs_root * | root, |
| u64 | ram_bytes, | ||
| u64 | num_bytes, | ||
| u64 | min_alloc_size, | ||
| u64 | empty_size, | ||
| u64 | hint_byte, | ||
| struct btrfs_key * | ins, | ||
| int | is_data, | ||
| int | delalloc | ||
| ) |


|
inlinestatic |

| struct extent_buffer* btrfs_root_node | ( | struct btrfs_root * | root | ) |

|
inlinestatic |

| int btrfs_run_defrag_inodes | ( | struct btrfs_fs_info * | fs_info | ) |


| void btrfs_run_delayed_iputs | ( | struct btrfs_fs_info * | fs_info | ) |


| int btrfs_run_delayed_refs | ( | struct btrfs_trans_handle * | trans, |
| unsigned long | count | ||
| ) |


|
static |
| int btrfs_scrub_cancel | ( | struct btrfs_fs_info * | info | ) |

| int btrfs_scrub_cancel_dev | ( | struct btrfs_fs_info * | info, |
| struct btrfs_device * | dev | ||
| ) |

| void btrfs_scrub_continue | ( | struct btrfs_fs_info * | fs_info | ) |

| int btrfs_scrub_dev | ( | struct btrfs_fs_info * | fs_info, |
| u64 | devid, | ||
| u64 | start, | ||
| u64 | end, | ||
| struct btrfs_scrub_progress * | progress, | ||
| int | readonly, | ||
| int | is_dev_replace | ||
| ) |


| void btrfs_scrub_pause | ( | struct btrfs_fs_info * | fs_info | ) |

| int btrfs_scrub_progress | ( | struct btrfs_fs_info * | fs_info, |
| u64 | devid, | ||
| struct btrfs_scrub_progress * | progress | ||
| ) |


| struct btrfs_dir_item* btrfs_search_dir_index_item | ( | struct btrfs_root * | root, |
| struct btrfs_path * | path, | ||
| u64 | dirid, | ||
| const char * | name, | ||
| int | name_len | ||
| ) |


| int btrfs_search_forward | ( | struct btrfs_root * | root, |
| struct btrfs_key * | min_key, | ||
| struct btrfs_path * | path, | ||
| u64 | min_trans | ||
| ) |


| int btrfs_search_old_slot | ( | struct btrfs_root * | root, |
| const struct btrfs_key * | key, | ||
| struct btrfs_path * | p, | ||
| u64 | time_seq | ||
| ) |


| int btrfs_search_slot | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| const struct btrfs_key * | key, | ||
| struct btrfs_path * | p, | ||
| int | ins_len, | ||
| int | cow | ||
| ) |

| int btrfs_search_slot_for_read | ( | struct btrfs_root * | root, |
| const struct btrfs_key * | key, | ||
| struct btrfs_path * | p, | ||
| int | find_higher, | ||
| int | return_any | ||
| ) |


|
inlinestatic |

|
inlinestatic |

|
inlinestatic |

|
inlinestatic |


|
inlinestatic |

|
inlinestatic |


| int btrfs_set_disk_extent_flags | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u64 | bytenr, | ||
| u64 | num_bytes, | ||
| u64 | flags, | ||
| int | level, | ||
| int | is_data | ||
| ) |


| int btrfs_set_extent_delalloc | ( | struct inode * | inode, |
| u64 | start, | ||
| u64 | end, | ||
| unsigned int | extra_bits, | ||
| struct extent_state ** | cached_state, | ||
| int | dedupe | ||
| ) |


|
inlinestatic |

|
inlinestatic |

|
inlinestatic |

| int btrfs_set_inode_index | ( | struct btrfs_inode * | dir, |
| u64 * | index | ||
| ) |


|
inlinestatic |


| void btrfs_set_item_key_safe | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_path * | path, | ||
| const struct btrfs_key * | new_key | ||
| ) |


|
inlinestatic |
|
inlinestatic |

|
inlinestatic |


|
inlinestatic |

| void btrfs_set_path_blocking | ( | struct btrfs_path * | p | ) |


| void btrfs_set_range_writeback | ( | void * | private_data, |
| u64 | start, | ||
| u64 | end | ||
| ) |


| void btrfs_set_root_node | ( | struct btrfs_root_item * | item, |
| struct extent_buffer * | node | ||
| ) |

|
inlinestatic |


| BTRFS_SETGET_FUNCS | ( | device_type | , |
| struct btrfs_dev_item | , | ||
| type | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_bytes_used | , |
| struct btrfs_dev_item | , | ||
| bytes_used | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_io_align | , |
| struct btrfs_dev_item | , | ||
| io_align | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_io_width | , |
| struct btrfs_dev_item | , | ||
| io_width | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_start_offset | , |
| struct btrfs_dev_item | , | ||
| start_offset | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_sector_size | , |
| struct btrfs_dev_item | , | ||
| sector_size | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_id | , |
| struct btrfs_dev_item | , | ||
| devid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_group | , |
| struct btrfs_dev_item | , | ||
| dev_group | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_seek_speed | , |
| struct btrfs_dev_item | , | ||
| seek_speed | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_bandwidth | , |
| struct btrfs_dev_item | , | ||
| bandwidth | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | device_generation | , |
| struct btrfs_dev_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | chunk_length | , |
| struct btrfs_chunk | , | ||
| length | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | chunk_owner | , |
| struct btrfs_chunk | , | ||
| owner | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | chunk_stripe_len | , |
| struct btrfs_chunk | , | ||
| stripe_len | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | chunk_io_align | , |
| struct btrfs_chunk | , | ||
| io_align | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | chunk_io_width | , |
| struct btrfs_chunk | , | ||
| io_width | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | chunk_sector_size | , |
| struct btrfs_chunk | , | ||
| sector_size | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | chunk_type | , |
| struct btrfs_chunk | , | ||
| type | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | chunk_num_stripes | , |
| struct btrfs_chunk | , | ||
| num_stripes | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | chunk_sub_stripes | , |
| struct btrfs_chunk | , | ||
| sub_stripes | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | stripe_devid | , |
| struct btrfs_stripe | , | ||
| devid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | stripe_offset | , |
| struct btrfs_stripe | , | ||
| offset | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | disk_block_group_used | , |
| struct btrfs_block_group_item | , | ||
| used | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | disk_block_group_chunk_objectid | , |
| struct btrfs_block_group_item | , | ||
| chunk_objectid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | disk_block_group_flags | , |
| struct btrfs_block_group_item | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | free_space_extent_count | , |
| struct btrfs_free_space_info | , | ||
| extent_count | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | free_space_flags | , |
| struct btrfs_free_space_info | , | ||
| flags | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_ref_name_len | , |
| struct btrfs_inode_ref | , | ||
| name_len | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_ref_index | , |
| struct btrfs_inode_ref | , | ||
| index | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_extref_parent | , |
| struct btrfs_inode_extref | , | ||
| parent_objectid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_extref_name_len | , |
| struct btrfs_inode_extref | , | ||
| name_len | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_extref_index | , |
| struct btrfs_inode_extref | , | ||
| index | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_generation | , |
| struct btrfs_inode_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_sequence | , |
| struct btrfs_inode_item | , | ||
| sequence | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_transid | , |
| struct btrfs_inode_item | , | ||
| transid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_size | , |
| struct btrfs_inode_item | , | ||
| size | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_nbytes | , |
| struct btrfs_inode_item | , | ||
| nbytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_block_group | , |
| struct btrfs_inode_item | , | ||
| block_group | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_nlink | , |
| struct btrfs_inode_item | , | ||
| nlink | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_uid | , |
| struct btrfs_inode_item | , | ||
| uid | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_gid | , |
| struct btrfs_inode_item | , | ||
| gid | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_mode | , |
| struct btrfs_inode_item | , | ||
| mode | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_rdev | , |
| struct btrfs_inode_item | , | ||
| rdev | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | inode_flags | , |
| struct btrfs_inode_item | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | timespec_sec | , |
| struct btrfs_timespec | , | ||
| sec | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | timespec_nsec | , |
| struct btrfs_timespec | , | ||
| nsec | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_extent_chunk_tree | , |
| struct btrfs_dev_extent | , | ||
| chunk_tree | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_extent_chunk_objectid | , |
| struct btrfs_dev_extent | , | ||
| chunk_objectid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_extent_chunk_offset | , |
| struct btrfs_dev_extent | , | ||
| chunk_offset | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_extent_length | , |
| struct btrfs_dev_extent | , | ||
| length | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_refs | , |
| struct btrfs_extent_item | , | ||
| refs | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_generation | , |
| struct btrfs_extent_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_flags | , |
| struct btrfs_extent_item | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_refs_v0 | , |
| struct btrfs_extent_item_v0 | , | ||
| refs | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | tree_block_level | , |
| struct btrfs_tree_block_info | , | ||
| level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_data_ref_root | , |
| struct btrfs_extent_data_ref | , | ||
| root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_data_ref_objectid | , |
| struct btrfs_extent_data_ref | , | ||
| objectid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_data_ref_offset | , |
| struct btrfs_extent_data_ref | , | ||
| offset | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_data_ref_count | , |
| struct btrfs_extent_data_ref | , | ||
| count | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | shared_data_ref_count | , |
| struct btrfs_shared_data_ref | , | ||
| count | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_inline_ref_type | , |
| struct btrfs_extent_inline_ref | , | ||
| type | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | extent_inline_ref_offset | , |
| struct btrfs_extent_inline_ref | , | ||
| offset | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | ref_root_v0 | , |
| struct btrfs_extent_ref_v0 | , | ||
| root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | ref_generation_v0 | , |
| struct btrfs_extent_ref_v0 | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | ref_objectid_v0 | , |
| struct btrfs_extent_ref_v0 | , | ||
| objectid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | ref_count_v0 | , |
| struct btrfs_extent_ref_v0 | , | ||
| count | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | key_blockptr | , |
| struct btrfs_key_ptr | , | ||
| blockptr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | key_generation | , |
| struct btrfs_key_ptr | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | item_offset | , |
| struct btrfs_item | , | ||
| offset | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | item_size | , |
| struct btrfs_item | , | ||
| size | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dir_log_end | , |
| struct btrfs_dir_log_item | , | ||
| end | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | root_ref_dirid | , |
| struct btrfs_root_ref | , | ||
| dirid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | root_ref_sequence | , |
| struct btrfs_root_ref | , | ||
| sequence | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | root_ref_name_len | , |
| struct btrfs_root_ref | , | ||
| name_len | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dir_data_len | , |
| struct btrfs_dir_item | , | ||
| data_len | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dir_type | , |
| struct btrfs_dir_item | , | ||
| type | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dir_name_len | , |
| struct btrfs_dir_item | , | ||
| name_len | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dir_transid | , |
| struct btrfs_dir_item | , | ||
| transid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | free_space_entries | , |
| struct btrfs_free_space_header | , | ||
| num_entries | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | free_space_bitmaps | , |
| struct btrfs_free_space_header | , | ||
| num_bitmaps | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | free_space_generation | , |
| struct btrfs_free_space_header | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | disk_root_generation | , |
| struct btrfs_root_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | disk_root_refs | , |
| struct btrfs_root_item | , | ||
| refs | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | disk_root_bytenr | , |
| struct btrfs_root_item | , | ||
| bytenr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | disk_root_level | , |
| struct btrfs_root_item | , | ||
| level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | balance_flags | , |
| struct btrfs_balance_item | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_type | , |
| struct btrfs_file_extent_item | , | ||
| type | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_disk_bytenr | , |
| struct btrfs_file_extent_item | , | ||
| disk_bytenr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_generation | , |
| struct btrfs_file_extent_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_disk_num_bytes | , |
| struct btrfs_file_extent_item | , | ||
| disk_num_bytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_offset | , |
| struct btrfs_file_extent_item | , | ||
| offset | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_num_bytes | , |
| struct btrfs_file_extent_item | , | ||
| num_bytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_ram_bytes | , |
| struct btrfs_file_extent_item | , | ||
| ram_bytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_compression | , |
| struct btrfs_file_extent_item | , | ||
| compression | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_encryption | , |
| struct btrfs_file_extent_item | , | ||
| encryption | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | file_extent_other_encoding | , |
| struct btrfs_file_extent_item | , | ||
| other_encoding | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_status_generation | , |
| struct btrfs_qgroup_status_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_status_version | , |
| struct btrfs_qgroup_status_item | , | ||
| version | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_status_flags | , |
| struct btrfs_qgroup_status_item | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_status_rescan | , |
| struct btrfs_qgroup_status_item | , | ||
| rescan | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_info_generation | , |
| struct btrfs_qgroup_info_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_info_rfer | , |
| struct btrfs_qgroup_info_item | , | ||
| rfer | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_info_rfer_cmpr | , |
| struct btrfs_qgroup_info_item | , | ||
| rfer_cmpr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_info_excl | , |
| struct btrfs_qgroup_info_item | , | ||
| excl | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_info_excl_cmpr | , |
| struct btrfs_qgroup_info_item | , | ||
| excl_cmpr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_limit_flags | , |
| struct btrfs_qgroup_limit_item | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_limit_max_rfer | , |
| struct btrfs_qgroup_limit_item | , | ||
| max_rfer | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_limit_max_excl | , |
| struct btrfs_qgroup_limit_item | , | ||
| max_excl | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_limit_rsv_rfer | , |
| struct btrfs_qgroup_limit_item | , | ||
| rsv_rfer | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | qgroup_limit_rsv_excl | , |
| struct btrfs_qgroup_limit_item | , | ||
| rsv_excl | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_replace_src_devid | , |
| struct btrfs_dev_replace_item | , | ||
| src_devid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_replace_cont_reading_from_srcdev_mode | , |
| struct btrfs_dev_replace_item | , | ||
| cont_reading_from_srcdev_mode | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_replace_replace_state | , |
| struct btrfs_dev_replace_item | , | ||
| replace_state | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_replace_time_started | , |
| struct btrfs_dev_replace_item | , | ||
| time_started | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_replace_time_stopped | , |
| struct btrfs_dev_replace_item | , | ||
| time_stopped | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_replace_num_write_errors | , |
| struct btrfs_dev_replace_item | , | ||
| num_write_errors | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_replace_num_uncorrectable_read_errors | , |
| struct btrfs_dev_replace_item | , | ||
| num_uncorrectable_read_errors | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_replace_cursor_left | , |
| struct btrfs_dev_replace_item | , | ||
| cursor_left | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_FUNCS | ( | dev_replace_cursor_right | , |
| struct btrfs_dev_replace_item | , | ||
| cursor_right | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_HEADER_FUNCS | ( | header_bytenr | , |
| struct btrfs_header | , | ||
| bytenr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_HEADER_FUNCS | ( | header_generation | , |
| struct btrfs_header | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_HEADER_FUNCS | ( | header_owner | , |
| struct btrfs_header | , | ||
| owner | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_HEADER_FUNCS | ( | header_nritems | , |
| struct btrfs_header | , | ||
| nritems | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_HEADER_FUNCS | ( | header_flags | , |
| struct btrfs_header | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_HEADER_FUNCS | ( | header_level | , |
| struct btrfs_header | , | ||
| level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_type | , |
| struct btrfs_dev_item | , | ||
| type | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_total_bytes | , |
| struct btrfs_dev_item | , | ||
| total_bytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_bytes_used | , |
| struct btrfs_dev_item | , | ||
| bytes_used | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_io_align | , |
| struct btrfs_dev_item | , | ||
| io_align | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_io_width | , |
| struct btrfs_dev_item | , | ||
| io_width | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_sector_size | , |
| struct btrfs_dev_item | , | ||
| sector_size | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_id | , |
| struct btrfs_dev_item | , | ||
| devid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_group | , |
| struct btrfs_dev_item | , | ||
| dev_group | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_seek_speed | , |
| struct btrfs_dev_item | , | ||
| seek_speed | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_bandwidth | , |
| struct btrfs_dev_item | , | ||
| bandwidth | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_device_generation | , |
| struct btrfs_dev_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_chunk_length | , |
| struct btrfs_chunk | , | ||
| length | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_chunk_owner | , |
| struct btrfs_chunk | , | ||
| owner | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_chunk_stripe_len | , |
| struct btrfs_chunk | , | ||
| stripe_len | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_chunk_io_align | , |
| struct btrfs_chunk | , | ||
| io_align | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_chunk_io_width | , |
| struct btrfs_chunk | , | ||
| io_width | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_chunk_sector_size | , |
| struct btrfs_chunk | , | ||
| sector_size | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_chunk_type | , |
| struct btrfs_chunk | , | ||
| type | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_chunk_num_stripes | , |
| struct btrfs_chunk | , | ||
| num_stripes | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_chunk_sub_stripes | , |
| struct btrfs_chunk | , | ||
| sub_stripes | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_stripe_devid | , |
| struct btrfs_stripe | , | ||
| devid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_stripe_offset | , |
| struct btrfs_stripe | , | ||
| offset | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | block_group_used | , |
| struct btrfs_block_group_item | , | ||
| used | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | block_group_chunk_objectid | , |
| struct btrfs_block_group_item | , | ||
| chunk_objectid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | block_group_flags | , |
| struct btrfs_block_group_item | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_generation | , |
| struct btrfs_inode_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_sequence | , |
| struct btrfs_inode_item | , | ||
| sequence | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_transid | , |
| struct btrfs_inode_item | , | ||
| transid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_size | , |
| struct btrfs_inode_item | , | ||
| size | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_nbytes | , |
| struct btrfs_inode_item | , | ||
| nbytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_block_group | , |
| struct btrfs_inode_item | , | ||
| block_group | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_nlink | , |
| struct btrfs_inode_item | , | ||
| nlink | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_uid | , |
| struct btrfs_inode_item | , | ||
| uid | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_gid | , |
| struct btrfs_inode_item | , | ||
| gid | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_mode | , |
| struct btrfs_inode_item | , | ||
| mode | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_rdev | , |
| struct btrfs_inode_item | , | ||
| rdev | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_inode_flags | , |
| struct btrfs_inode_item | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_timespec_sec | , |
| struct btrfs_timespec | , | ||
| sec | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_timespec_nsec | , |
| struct btrfs_timespec | , | ||
| nsec | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_key_blockptr | , |
| struct btrfs_key_ptr | , | ||
| blockptr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_key_generation | , |
| struct btrfs_key_ptr | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_item_offset | , |
| struct btrfs_item | , | ||
| offset | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_item_size | , |
| struct btrfs_item | , | ||
| size | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dir_type | , |
| struct btrfs_dir_item | , | ||
| type | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dir_data_len | , |
| struct btrfs_dir_item | , | ||
| data_len | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dir_name_len | , |
| struct btrfs_dir_item | , | ||
| name_len | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dir_transid | , |
| struct btrfs_dir_item | , | ||
| transid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | disk_key_objectid | , |
| struct btrfs_disk_key | , | ||
| objectid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | disk_key_offset | , |
| struct btrfs_disk_key | , | ||
| offset | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | disk_key_type | , |
| struct btrfs_disk_key | , | ||
| type | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_header_generation | , |
| struct btrfs_header | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_header_owner | , |
| struct btrfs_header | , | ||
| owner | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_header_nritems | , |
| struct btrfs_header | , | ||
| nritems | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_header_bytenr | , |
| struct btrfs_header | , | ||
| bytenr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_generation | , |
| struct btrfs_root_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_bytenr | , |
| struct btrfs_root_item | , | ||
| bytenr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_level | , |
| struct btrfs_root_item | , | ||
| level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_dirid | , |
| struct btrfs_root_item | , | ||
| root_dirid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_refs | , |
| struct btrfs_root_item | , | ||
| refs | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_flags | , |
| struct btrfs_root_item | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_used | , |
| struct btrfs_root_item | , | ||
| bytes_used | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_limit | , |
| struct btrfs_root_item | , | ||
| byte_limit | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_last_snapshot | , |
| struct btrfs_root_item | , | ||
| last_snapshot | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_generation_v2 | , |
| struct btrfs_root_item | , | ||
| generation_v2 | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_ctransid | , |
| struct btrfs_root_item | , | ||
| ctransid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_otransid | , |
| struct btrfs_root_item | , | ||
| otransid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_stransid | , |
| struct btrfs_root_item | , | ||
| stransid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | root_rtransid | , |
| struct btrfs_root_item | , | ||
| rtransid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_tree_root | , |
| struct btrfs_root_backup | , | ||
| tree_root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_tree_root_gen | , |
| struct btrfs_root_backup | , | ||
| tree_root_gen | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_tree_root_level | , |
| struct btrfs_root_backup | , | ||
| tree_root_level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_chunk_root | , |
| struct btrfs_root_backup | , | ||
| chunk_root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_chunk_root_gen | , |
| struct btrfs_root_backup | , | ||
| chunk_root_gen | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_chunk_root_level | , |
| struct btrfs_root_backup | , | ||
| chunk_root_level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_extent_root | , |
| struct btrfs_root_backup | , | ||
| extent_root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_extent_root_gen | , |
| struct btrfs_root_backup | , | ||
| extent_root_gen | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_extent_root_level | , |
| struct btrfs_root_backup | , | ||
| extent_root_level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_fs_root | , |
| struct btrfs_root_backup | , | ||
| fs_root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_fs_root_gen | , |
| struct btrfs_root_backup | , | ||
| fs_root_gen | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_fs_root_level | , |
| struct btrfs_root_backup | , | ||
| fs_root_level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_dev_root | , |
| struct btrfs_root_backup | , | ||
| dev_root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_dev_root_gen | , |
| struct btrfs_root_backup | , | ||
| dev_root_gen | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_dev_root_level | , |
| struct btrfs_root_backup | , | ||
| dev_root_level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_csum_root | , |
| struct btrfs_root_backup | , | ||
| csum_root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_csum_root_gen | , |
| struct btrfs_root_backup | , | ||
| csum_root_gen | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_csum_root_level | , |
| struct btrfs_root_backup | , | ||
| csum_root_level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_total_bytes | , |
| struct btrfs_root_backup | , | ||
| total_bytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_bytes_used | , |
| struct btrfs_root_backup | , | ||
| bytes_used | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | backup_num_devices | , |
| struct btrfs_root_backup | , | ||
| num_devices | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_bytenr | , |
| struct btrfs_super_block | , | ||
| bytenr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_flags | , |
| struct btrfs_super_block | , | ||
| flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_generation | , |
| struct btrfs_super_block | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_root | , |
| struct btrfs_super_block | , | ||
| root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_sys_array_size | , |
| struct btrfs_super_block | , | ||
| sys_chunk_array_size | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_chunk_root_generation | , |
| struct btrfs_super_block | , | ||
| chunk_root_generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_root_level | , |
| struct btrfs_super_block | , | ||
| root_level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_chunk_root | , |
| struct btrfs_super_block | , | ||
| chunk_root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_chunk_root_level | , |
| struct btrfs_super_block | , | ||
| chunk_root_level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_log_root | , |
| struct btrfs_super_block | , | ||
| log_root | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_log_root_transid | , |
| struct btrfs_super_block | , | ||
| log_root_transid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_log_root_level | , |
| struct btrfs_super_block | , | ||
| log_root_level | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_total_bytes | , |
| struct btrfs_super_block | , | ||
| total_bytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_bytes_used | , |
| struct btrfs_super_block | , | ||
| bytes_used | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_sectorsize | , |
| struct btrfs_super_block | , | ||
| sectorsize | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_nodesize | , |
| struct btrfs_super_block | , | ||
| nodesize | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_stripesize | , |
| struct btrfs_super_block | , | ||
| stripesize | , | ||
| 32 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_root_dir | , |
| struct btrfs_super_block | , | ||
| root_dir_objectid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_num_devices | , |
| struct btrfs_super_block | , | ||
| num_devices | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_compat_flags | , |
| struct btrfs_super_block | , | ||
| compat_flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_compat_ro_flags | , |
| struct btrfs_super_block | , | ||
| compat_ro_flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_incompat_flags | , |
| struct btrfs_super_block | , | ||
| incompat_flags | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_csum_type | , |
| struct btrfs_super_block | , | ||
| csum_type | , | ||
| 16 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_cache_generation | , |
| struct btrfs_super_block | , | ||
| cache_generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_magic | , |
| struct btrfs_super_block | , | ||
| magic | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | super_uuid_tree_generation | , |
| struct btrfs_super_block | , | ||
| uuid_tree_generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_file_extent_disk_bytenr | , |
| struct btrfs_file_extent_item | , | ||
| disk_bytenr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_file_extent_offset | , |
| struct btrfs_file_extent_item | , | ||
| offset | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_file_extent_generation | , |
| struct btrfs_file_extent_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_file_extent_num_bytes | , |
| struct btrfs_file_extent_item | , | ||
| num_bytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_file_extent_disk_num_bytes | , |
| struct btrfs_file_extent_item | , | ||
| disk_num_bytes | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_file_extent_compression | , |
| struct btrfs_file_extent_item | , | ||
| compression | , | ||
| 8 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_qgroup_info_generation | , |
| struct btrfs_qgroup_info_item | , | ||
| generation | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_qgroup_info_rfer | , |
| struct btrfs_qgroup_info_item | , | ||
| rfer | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_qgroup_info_rfer_cmpr | , |
| struct btrfs_qgroup_info_item | , | ||
| rfer_cmpr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_qgroup_info_excl | , |
| struct btrfs_qgroup_info_item | , | ||
| excl | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_qgroup_info_excl_cmpr | , |
| struct btrfs_qgroup_info_item | , | ||
| excl_cmpr | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dev_replace_src_devid | , |
| struct btrfs_dev_replace_item | , | ||
| src_devid | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dev_replace_cont_reading_from_srcdev_mode | , |
| struct btrfs_dev_replace_item | , | ||
| cont_reading_from_srcdev_mode | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dev_replace_replace_state | , |
| struct btrfs_dev_replace_item | , | ||
| replace_state | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dev_replace_time_started | , |
| struct btrfs_dev_replace_item | , | ||
| time_started | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dev_replace_time_stopped | , |
| struct btrfs_dev_replace_item | , | ||
| time_stopped | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dev_replace_num_write_errors | , |
| struct btrfs_dev_replace_item | , | ||
| num_write_errors | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dev_replace_num_uncorrectable_read_errors | , |
| struct btrfs_dev_replace_item | , | ||
| num_uncorrectable_read_errors | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dev_replace_cursor_left | , |
| struct btrfs_dev_replace_item | , | ||
| cursor_left | , | ||
| 64 | |||
| ) |
| BTRFS_SETGET_STACK_FUNCS | ( | stack_dev_replace_cursor_right | , |
| struct btrfs_dev_replace_item | , | ||
| cursor_right | , | ||
| 64 | |||
| ) |
| int btrfs_setup_space_cache | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info | ||
| ) |


| int btrfs_should_throttle_delayed_refs | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info | ||
| ) |


| int btrfs_split_item | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_path * | path, | ||
| const struct btrfs_key * | new_key, | ||
| unsigned long | split_offset | ||
| ) |


| int btrfs_start_delalloc_inodes | ( | struct btrfs_root * | root, |
| int | delay_iput | ||
| ) |


| int btrfs_start_delalloc_roots | ( | struct btrfs_fs_info * | fs_info, |
| int | delay_iput, | ||
| int | nr | ||
| ) |


| int btrfs_start_dirty_block_groups | ( | struct btrfs_trans_handle * | trans | ) |


| struct btrfs_trans_handle* btrfs_start_trans_remove_block_group | ( | struct btrfs_fs_info * | fs_info, |
| const u64 | chunk_offset | ||
| ) |


| int btrfs_start_write_no_snapshotting | ( | struct btrfs_root * | root | ) |


|
inlinestatic |

|
inlinestatic |


|
inlinestatic |


|
static |

|
inlinestatic |


| void btrfs_subvolume_release_metadata | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_block_rsv * | rsv | ||
| ) |


| int btrfs_subvolume_reserve_metadata | ( | struct btrfs_root * | root, |
| struct btrfs_block_rsv * | rsv, | ||
| int | nitems, | ||
| u64 * | qgroup_reserved, | ||
| bool | use_global_rsv | ||
| ) |


|
inlinestatic |

| int btrfs_sync_file | ( | struct file * | file, |
| loff_t | start, | ||
| loff_t | end, | ||
| int | datasync | ||
| ) |


| int btrfs_sync_fs | ( | struct super_block * | sb, |
| int | wait | ||
| ) |


| int btrfs_sysfs_add_mounted | ( | struct btrfs_fs_info * | fs_info | ) |


| void btrfs_sysfs_remove_mounted | ( | struct btrfs_fs_info * | fs_info | ) |


| u64 btrfs_system_alloc_profile | ( | struct btrfs_fs_info * | fs_info | ) |


| void btrfs_trans_release_chunk_metadata | ( | struct btrfs_trans_handle * | trans | ) |


|
inlinestatic |

| int btrfs_trim_fs | ( | struct btrfs_fs_info * | fs_info, |
| struct fstrim_range * | range | ||
| ) |


| int btrfs_truncate_block | ( | struct inode * | inode, |
| loff_t | from, | ||
| loff_t | len, | ||
| int | front | ||
| ) |


| int btrfs_truncate_inode_items | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct inode * | inode, | ||
| u64 | new_size, | ||
| u32 | min_type | ||
| ) |


| void btrfs_truncate_item | ( | struct btrfs_fs_info * | fs_info, |
| struct btrfs_path * | path, | ||
| u32 | new_size, | ||
| int | from_end | ||
| ) |


| int btrfs_unlink_inode | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_inode * | dir, | ||
| struct btrfs_inode * | inode, | ||
| const char * | name, | ||
| int | name_len | ||
| ) |


| int btrfs_unlink_subvol | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct inode * | dir, | ||
| u64 | objectid, | ||
| const char * | name, | ||
| int | name_len | ||
| ) |


| void btrfs_unlock_up_safe | ( | struct btrfs_path * | p, |
| int | level | ||
| ) |


| void btrfs_update_iflags | ( | struct inode * | inode | ) |


| int btrfs_update_inode | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct inode * | inode | ||
| ) |


| int btrfs_update_inode_fallback | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct inode * | inode | ||
| ) |


| int btrfs_update_reloc_root | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root | ||
| ) |


| int __must_check btrfs_update_root | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root, | ||
| struct btrfs_key * | key, | ||
| struct btrfs_root_item * | item | ||
| ) |


| void btrfs_update_root_times | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_root * | root | ||
| ) |

| int btrfs_uuid_tree_add | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u8 * | uuid, | ||
| u8 | type, | ||
| u64 | subid | ||
| ) |


| int btrfs_uuid_tree_iterate | ( | struct btrfs_fs_info * | fs_info, |
| int(*)(struct btrfs_fs_info *, u8 *, u8, u64) | check_func | ||
| ) |


| int btrfs_uuid_tree_rem | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| u8 * | uuid, | ||
| u8 | type, | ||
| u64 | subid | ||
| ) |


| void btrfs_wait_and_free_delalloc_work | ( | struct btrfs_delalloc_work * | work | ) |

| void btrfs_wait_block_group_reservations | ( | struct btrfs_block_group_cache * | bg | ) |

| void btrfs_wait_for_snapshot_creation | ( | struct btrfs_root * | root | ) |


| void btrfs_wait_nocow_writers | ( | struct btrfs_block_group_cache * | bg | ) |

| int btrfs_write_dirty_block_groups | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info | ||
| ) |


| int btrfs_write_inode | ( | struct inode * | inode, |
| struct writeback_control * | wbc | ||
| ) |


| noinline int can_nocow_extent | ( | struct inode * | inode, |
| u64 | offset, | ||
| u64 * | len, | ||
| u64 * | orig_start, | ||
| u64 * | orig_block_len, | ||
| u64 * | ram_bytes | ||
| ) |


| void check_system_chunk | ( | struct btrfs_trans_handle * | trans, |
| struct btrfs_fs_info * | fs_info, | ||
| const u64 | type | ||
| ) |


|
inlinestatic |

|
inlinestatic |


|
inlinestatic |

|
inlinestatic |


| void setup_items_for_insert | ( | struct btrfs_root * | root, |
| struct btrfs_path * | path, | ||
| const struct btrfs_key * | cpu_key, | ||
| u32 * | data_size, | ||
| u32 | total_data, | ||
| u32 | total_size, | ||
| int | nr | ||
| ) |


| void update_ioctl_balance_args | ( | struct btrfs_fs_info * | fs_info, |
| int | lock, | ||
| struct btrfs_ioctl_balance_args * | bargs | ||
| ) |

| enum { ... } __attribute__ |
| __le32 __unused_leafsize |
| __le64 blockptr |
| struct kmem_cache* btrfs_bit_radix_cachep |
|
static |
| const struct dentry_operations btrfs_dentry_operations |
| const struct file_operations btrfs_file_operations |
| struct kmem_cache* btrfs_free_space_cachep |
| struct kmem_cache* btrfs_path_cachep |
| struct kmem_cache* btrfs_trans_handle_cachep |
| __le64 bytenr |
| __le64 bytes_used |
| __le64 cache_generation |
| __le64 chunk_root |
| __le64 chunk_root_gen |
| __le64 chunk_root_generation |
| u8 chunk_root_level |
| u8 chunk_tree_uuid[BTRFS_UUID_SIZE] |
| __le64 compat_flags |
| __le64 compat_ro_flags |
| u8 csum |
| __le64 csum_root |
| __le64 csum_root_gen |
| u8 csum_root_level |
| __le16 csum_type |
| struct btrfs_dev_item dev_item |
| __le64 dev_root |
| __le64 dev_root_gen |
| u8 dev_root_level |
| const char unsigned int int errno |
| __le64 extent_root |
| __le64 extent_root_gen |
| u8 extent_root_level |
| const char unsigned int int const char* fmt |
| __le64 fs_root |
| __le64 fs_root_gen |
| u8 fs_root_level |
| u8 fsid |
| const char* function |
| __le64 generation |
| struct btrfs_header header |
| __le64 incompat_flags |
| struct btrfs_item items[] |
| __u8 key |
| char label[BTRFS_LABEL_SIZE] |
| u8 level |
| const char unsigned int line |
| __le64 log_root |
| u8 log_root_level |
| __le64 log_root_transid |
| __le64 magic |
| __le32 nodesize |
| __le32 nritems |
| __le64 num_devices |
| jint32_t offset |
| __le64 owner |
| struct btrfs_key_ptr ptrs[] |
| le16 reserved |
| __le64 root |
| __le64 root_dir_objectid |
| u8 root_level |
| __le32 sectorsize |
| __le16 size |
| __le32 stripesize |
| struct btrfs_root_backup super_roots[BTRFS_NUM_BACKUP_ROOTS] |
| u8 sys_chunk_array[BTRFS_SYSTEM_CHUNK_ARRAY_SIZE] |
| __le32 sys_chunk_array_size |
| __le64 total_bytes |
| __le64 tree_root |
| __le64 tree_root_gen |
| u8 tree_root_level |
| __le64 unused_64[4] |
| u8 unused_8[10] |
| __le64 uuid_tree_generation |